File tree Expand file tree Collapse file tree 3 files changed +9743
-4123
lines changed Expand file tree Collapse file tree 3 files changed +9743
-4123
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,14 @@ name: Test
8
8
types :
9
9
- opened
10
10
- synchronize
11
+
12
+ permissions :
13
+ contents : read
14
+
15
+ env :
16
+ FORCE_COLOR : 1
17
+ NPM_CONFIG_COLOR : always
18
+
11
19
jobs :
12
20
test_matrix :
13
21
strategy :
@@ -27,22 +35,27 @@ jobs:
27
35
node-version : " ${{ matrix.node-version }}"
28
36
cache : npm
29
37
- run : npm clean-install
30
- - name : Ensure dependencies are compatible with the engines range
31
- run : npx ls-engines
32
- - run : " npm run test:ci "
33
- test :
38
+ - run : corepack npm audit signatures
39
+ - run : npm test
40
+
41
+ test_dev :
34
42
runs-on : ubuntu-latest
35
- needs : test_matrix
36
- if : ${{ always() }}
37
43
steps :
38
44
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
39
- - uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
45
+ - name : " Use development Node.js version"
46
+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
40
47
with :
41
- node-version : lts/*
48
+ node-version-file : .nvmrc
42
49
cache : npm
43
50
- run : npm clean-install
44
51
- run : corepack npm audit signatures
45
- - run : npm run lint
52
+ - run : npm test
53
+
54
+ test :
55
+ runs-on : ubuntu-latest
56
+ needs : test_matrix
57
+ if : ${{ !cancelled() }}
58
+ steps :
46
59
- name : All matrix versions passed
47
60
if : ${{ !(contains(needs.*.result, 'failure')) }}
48
61
run : exit 0
You can’t perform that action at this time.
0 commit comments