Commit f437aea 1 parent 89abb97 commit f437aea Copy full SHA for f437aea
File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,13 @@ jobs:
25
25
- uses : actions/setup-node@v4
26
26
with :
27
27
node-version : ${{ matrix.node }}
28
- - name : install
29
- run : npm install
30
28
31
29
- name : npm ci
32
30
run : npm ci --ignore-scripts
33
31
34
32
- name : test
35
- run : npm test
33
+ run : |
34
+ if [ "${{ matrix.node }}" == "22" ]; then
35
+ npm run test:node22
36
+ else
37
+ npm run test
Original file line number Diff line number Diff line change 39
39
"lintfix" : " eslint --fix src" ,
40
40
"report" : " nyc report --reporter=html" ,
41
41
"test" : " nyc ava src/__tests__/*.mjs" ,
42
+ "test:node22" : " nyc ava src/__tests__/*.mjs --node-arguments=--no-experimental-detect-module" ,
42
43
"testone" : " ava"
43
44
},
44
45
"dependencies" : {
69
70
],
70
71
"concurrency" : 5 ,
71
72
"timeout" : " 25s" ,
72
- "nodeArguments" : [
73
- " --no-experimental-detect-module"
74
- ]
73
+ "nodeArguments" : []
75
74
},
76
75
"nyc" : {
77
76
"exclude" : [
You can’t perform that action at this time.
0 commit comments