File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -31,16 +31,10 @@ jobs:
31
31
32
32
- uses : ' actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a' # ratchet:actions/setup-node@v4
33
33
with :
34
- node-version : ' 20.x '
34
+ node-version-file : ' package.json '
35
35
36
36
- name : ' npm build'
37
37
run : ' npm ci && npm run build'
38
38
39
- - name : ' npm lint'
40
- # There's no need to run the linter for each operating system, since it
41
- # will find the same thing 3x and clog up the PR review.
42
- if : ${{ matrix.os == 'ubuntu-latest' }}
43
- run : ' npm run lint'
44
-
45
39
- name : ' npm test'
46
40
run : ' npm run test'
Original file line number Diff line number Diff line change 9
9
"format" : " eslint . --fix" ,
10
10
"test" : " bash ./bin/runTests.sh"
11
11
},
12
+ "engines" : {
13
+ "node" : " 20.x" ,
14
+ "npm" : " 10.x"
15
+ },
12
16
"repository" : {
13
17
"type" : " git" ,
14
18
"url" : " https://github.com/google-github-actions/ssh-compute.git"
You can’t perform that action at this time.
0 commit comments