File tree 1 file changed +14
-12
lines changed
1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: Node.js CI
2
2
3
3
on :
4
4
push :
5
- branches : [ main ]
5
+ branches : [main]
6
6
pull_request :
7
- branches : [ main ]
7
+ branches : [main]
8
8
9
9
jobs :
10
10
lint :
16
16
- uses : actions/setup-node@v4
17
17
with :
18
18
node-version : " 18"
19
+ - run : npm i -g npm
19
20
- run : npm install
20
21
- run : npm run lint
21
22
@@ -26,15 +27,16 @@ jobs:
26
27
matrix :
27
28
os : [ubuntu-latest, macos-14, windows-latest]
28
29
# See https://github.com/nodejs/release#release-schedule
29
- node-version : [18.x, 20.x, 22.x ]
30
+ node-version : [18.x, 20.x, 22.5.1 ]
30
31
31
32
steps :
32
- - uses : actions/checkout@v4
33
- with :
34
- lfs : true
35
- - name : Use Node.js ${{ matrix.node-version }}
36
- uses : actions/setup-node@v4
37
- with :
38
- node-version : ${{ matrix.node-version }}
39
- - run : npm install
40
- - run : npm run test
33
+ - uses : actions/checkout@v4
34
+ with :
35
+ lfs : true
36
+ - name : Use Node.js ${{ matrix.node-version }}
37
+ uses : actions/setup-node@v4
38
+ with :
39
+ node-version : ${{ matrix.node-version }}
40
+ - run : npm install --global npm
41
+ - run : npm install
42
+ - run : npm run test
You can’t perform that action at this time.
0 commit comments