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 12
12
steps :
13
13
- uses : actions/checkout@v3
14
14
- uses : actions/setup-node@v3
15
- with :
16
- node-version : 14
17
15
- name : Install Packages
18
- run : npm install
16
+ run : npm install -f
19
17
- name : Lint
20
18
run : npm run lint
21
19
- name : Build
24
22
runs-on : ubuntu-latest
25
23
strategy :
26
24
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]
28
42
steps :
29
43
- uses : actions/checkout@v3
30
44
- name : Use Node.js ${{ matrix.node-version }}
33
47
node-version : ${{ matrix.node-version }}
34
48
- name : Install Target Packages
35
49
run : |+
50
+ npm install @typescript-eslint/parser@5 --legacy-peer-deps
36
51
npm install --legacy-peer-deps
37
52
- name : Test
38
53
run : npm test
Original file line number Diff line number Diff line change 59
59
"@types/natural-compare" : " ^1.4.0" ,
60
60
"@types/node" : " ^18.0.0" ,
61
61
"@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" ,
64
64
"benchmark" : " ^2.1.4" ,
65
65
"env-cmd" : " ^10.1.0" ,
66
66
"eslint" : " ^8.0.0" ,
You can’t perform that action at this time.
0 commit comments