@@ -16,55 +16,20 @@ defaults:
1616 shell : bash --noprofile --norc -euo pipefail {0}
1717
1818jobs :
19- types :
20- runs-on : ubuntu-24.04
21- timeout-minutes : 10
22-
23- steps :
24- - name : Checkout
25- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
26- with :
27- persist-credentials : false
28-
29- - name : Setup Node.js
30- uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
31- with :
32- node-version : 22
33- cache : npm
34- cache-dependency-path : package-lock.json
35-
36- - name : Install dependencies
37- run : npm ci
38-
39- - name : Verify generated worker types are up to date
40- run : npm run types:check
41-
42- typecheck :
43- runs-on : ubuntu-24.04
44- timeout-minutes : 5
45-
46- steps :
47- - name : Checkout
48- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
49- with :
50- persist-credentials : false
51-
52- - name : Setup Node.js
53- uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
54- with :
55- node-version : 22
56- cache : npm
57- cache-dependency-path : package-lock.json
58-
59- - name : Install dependencies
60- run : npm ci
61-
62- - name : Type check
63- run : npm run typecheck
64-
65- format :
19+ quick :
20+ name : ${{ matrix.name }}
6621 runs-on : ubuntu-24.04
6722 timeout-minutes : 5
23+ strategy :
24+ fail-fast : false
25+ matrix :
26+ include :
27+ - name : typecheck
28+ step_name : Type check
29+ command : npm run typecheck
30+ - name : format
31+ step_name : Prettier format check
32+ command : npm run format:check
6833
6934 steps :
7035 - name : Checkout
@@ -80,14 +45,25 @@ jobs:
8045 cache-dependency-path : package-lock.json
8146
8247 - name : Install dependencies
83- run : npm ci
48+ run : npm ci --prefer-offline --no-audit --no-fund
8449
85- - name : Prettier format check
86- run : npm run format:check
50+ - name : ${{ matrix.step_name }}
51+ run : ${{ matrix.command }}
8752
88- test :
53+ extended :
54+ name : ${{ matrix.name }}
8955 runs-on : ubuntu-24.04
9056 timeout-minutes : 10
57+ strategy :
58+ fail-fast : false
59+ matrix :
60+ include :
61+ - name : types
62+ step_name : Verify generated worker types are up to date
63+ command : npm run types:check
64+ - name : test
65+ step_name : Run unit tests
66+ command : npm run test:run
9167
9268 steps :
9369 - name : Checkout
10379 cache-dependency-path : package-lock.json
10480
10581 - name : Install dependencies
106- run : npm ci
82+ run : npm ci --prefer-offline --no-audit --no-fund
10783
108- - name : Run unit tests
109- run : npm run test:run
84+ - name : ${{ matrix.step_name }}
85+ run : ${{ matrix.command }}
0 commit comments