File tree Expand file tree Collapse file tree 2 files changed +21
-6
lines changed Expand file tree Collapse file tree 2 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 1212 steps :
1313 - uses : actions/checkout@v3
1414 - uses : actions/setup-node@v3
15- with :
16- node-version : 14
1715 - name : Install Packages
18- run : npm install
16+ run : npm install -f
1917 - name : Lint
2018 run : npm run lint
2119 - name : Build
2422 runs-on : ubuntu-latest
2523 strategy :
2624 matrix :
27- node-version : [12.x, 14.x, 16.x]
25+ node-version : [16.x, 18.x, 20.x]
26+ steps :
27+ - uses : actions/checkout@v3
28+ - name : Use Node.js ${{ matrix.node-version }}
29+ uses : actions/setup-node@v3
30+ with :
31+ node-version : ${{ matrix.node-version }}
32+ - name : Install Target Packages
33+ run : |+
34+ npm install --legacy-peer-deps
35+ - name : Test
36+ run : npm test
37+ test-for-old-node :
38+ runs-on : ubuntu-latest
39+ strategy :
40+ matrix :
41+ node-version : [12.x, 14.x]
2842 steps :
2943 - uses : actions/checkout@v3
3044 - name : Use Node.js ${{ matrix.node-version }}
3347 node-version : ${{ matrix.node-version }}
3448 - name : Install Target Packages
3549 run : |+
50+ npm install @typescript-eslint/parser@5 --legacy-peer-deps
3651 npm install --legacy-peer-deps
3752 - name : Test
3853 run : npm test
Original file line number Diff line number Diff line change 5959 "@types/natural-compare" : " ^1.4.0" ,
6060 "@types/node" : " ^18.0.0" ,
6161 "@types/semver" : " ^7.3.1" ,
62- "@typescript-eslint/eslint-plugin" : " ^5 .0.0" ,
63- "@typescript-eslint/parser" : " ^5 .0.0" ,
62+ "@typescript-eslint/eslint-plugin" : " ^6 .0.0" ,
63+ "@typescript-eslint/parser" : " ^6 .0.0" ,
6464 "benchmark" : " ^2.1.4" ,
6565 "env-cmd" : " ^10.1.0" ,
6666 "eslint" : " ^8.0.0" ,
You can’t perform that action at this time.
0 commit comments