File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,13 @@ jobs:
2525 - uses : actions/setup-node@v4
2626 with :
2727 node-version : ${{ matrix.node }}
28- - name : install
29- run : npm install
3028
3129 - name : npm ci
3230 run : npm ci --ignore-scripts
3331
3432 - 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 3939 "lintfix" : " eslint --fix src" ,
4040 "report" : " nyc report --reporter=html" ,
4141 "test" : " nyc ava src/__tests__/*.mjs" ,
42+ "test:node22" : " nyc ava src/__tests__/*.mjs --node-arguments=--no-experimental-detect-module" ,
4243 "testone" : " ava"
4344 },
4445 "dependencies" : {
6970 ],
7071 "concurrency" : 5 ,
7172 "timeout" : " 25s" ,
72- "nodeArguments" : [
73- " --no-experimental-detect-module"
74- ]
73+ "nodeArguments" : []
7574 },
7675 "nyc" : {
7776 "exclude" : [
You can’t perform that action at this time.
0 commit comments