-
Notifications
You must be signed in to change notification settings - Fork 314
53 lines (45 loc) · 1.23 KB
/
client-test-ts.yaml
File metadata and controls
53 lines (45 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: TypeScript Client Test
on:
push:
branches:
- dev
paths:
- "src/client/acontext-ts/**"
- ".github/workflows/client-test-ts.yaml"
pull_request:
branches:
- dev
paths:
- "src/client/acontext-ts/**"
- ".github/workflows/client-test-ts.yaml"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Set up Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
with:
node-version: '22'
cache: "npm"
cache-dependency-path: src/client/acontext-ts/package-lock.json
- name: Install dependencies
working-directory: src/client/acontext-ts
run: npm ci
- name: Run lint
working-directory: src/client/acontext-ts
run: npm run lint
- name: Build
working-directory: src/client/acontext-ts
run: npm run build
- name: Run tests
working-directory: src/client/acontext-ts
run: npm test
env:
CI: true