File tree Expand file tree Collapse file tree 3 files changed +9520
-4041
lines changed Expand file tree Collapse file tree 3 files changed +9520
-4041
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,14 @@ name: Test
88 types :
99 - opened
1010 - synchronize
11+
12+ permissions :
13+ contents : read
14+
15+ env :
16+ FORCE_COLOR : 1
17+ NPM_CONFIG_COLOR : always
18+
1119jobs :
1220 test_matrix :
1321 strategy :
@@ -29,25 +37,28 @@ jobs:
2937 node-version : " ${{ matrix.node-version }}"
3038 cache : npm
3139 - run : npm clean-install
32- - run : " npm run test:ci"
33- test :
40+ - run : corepack npm audit signatures
41+ - run : npm test
42+
43+ test_dev :
3444 runs-on : ubuntu-latest
35- needs : test_matrix
36- if : always()
3745 steps :
3846 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3947 - uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
4048 with :
41- node-version : " lts/* "
49+ node-version-file : .nvmrc
4250 cache : npm
4351 - run : npm clean-install
4452 - run : corepack npm audit signatures
45- - name : Ensure dependencies are compatible with the engines range
46- run : npx ls-engines
47- - run : npm run lint
48- # https://github.com/lirantal/lockfile-lint#readme
49- - name : Scan lockfile for security issues
50- run : npx lockfile-lint --path package-lock.json
53+ - run : npm test
54+
55+ test :
56+ runs-on : ubuntu-latest
57+ needs :
58+ - test_dev
59+ - test_matrix
60+ if : ${{ !cancelled() }}
61+ steps :
5162 - name : All matrix versions passed
5263 if : ${{ !(contains(needs.*.result, 'failure')) }}
5364 run : exit 0
You can’t perform that action at this time.
0 commit comments