File tree Expand file tree Collapse file tree 2 files changed +24
-19
lines changed
Expand file tree Collapse file tree 2 files changed +24
-19
lines changed Original file line number Diff line number Diff line change 1- name : Node.js CI
2-
3- on : [push, pull_request]
4-
1+ name : Tests
2+ on :
3+ push :
4+ pull_request :
5+ permissions :
6+ contents : read
57jobs :
68 tests :
79 runs-on : ubuntu-latest
8-
910 strategy :
1011 matrix :
11- node-version : [16.x, 18.x]
12-
12+ node-version :
13+ - 16.x
14+ - 18.x
15+ - 20.x
16+ - 22.x
1317 steps :
14- - uses : actions/checkout@v2
15- - name : Use Node.js ${{ matrix.node-version }}
16- uses : actions/setup-node@v1
17- with :
18- node-version : ${{ matrix.node-version }}
19- - run : npm ci
20- - run : npm test
21- - name : Codecov
22- if : ${{ success() }}
23- run : npm run report-coverage
24- continue-on-error : true
18+ - uses : actions/checkout@v4
19+ persist-credentials : false
20+ - name : Use Node.js ${{ matrix.node-version }}
21+ uses : actions/setup-node@v4
22+ with :
23+ node-version : ${{ matrix.node-version }}
24+ - run : npm clean-install
25+ - run : npm run test
26+ - name : Codecov
27+ if : ${{ success() }}
28+ run : npm run report-coverage
29+ continue-on-error : true
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ let regex = regjsgen.generate(ast);
3030
3131## Support
3232
33- Tested on Node.js 16 and 18 .<br >
33+ Tested on Node.js 16, 18, 20, and 22 .<br >
3434Compatible with regjsparser v0.12.0’s AST.
3535
3636
You can’t perform that action at this time.
0 commit comments