File tree 4 files changed +12
-24
lines changed
4 files changed +12
-24
lines changed Original file line number Diff line number Diff line change 7
7
8
8
runs-on : ubuntu-latest
9
9
10
- strategy :
11
- matrix :
12
- node-version : [18.x]
13
-
14
10
steps :
15
11
- uses : actions/checkout@v3
16
- - name : Use Node.js ${{ matrix.node-version }}
12
+ - name : Use Node.js 18
17
13
uses : actions/setup-node@v3
18
14
with :
19
- node-version : ${{ matrix.node-version }}
15
+ node-version : 18
16
+ cache : ' npm'
20
17
- name : npm lint
21
18
run : |
22
19
npm ci
Original file line number Diff line number Diff line change 7
7
8
8
runs-on : ubuntu-latest
9
9
10
- strategy :
11
- matrix :
12
- node-version : [18.x]
13
-
14
10
steps :
15
11
- uses : actions/checkout@v3
16
- - name : Use Node.js ${{ matrix.node-version }}
12
+ - name : Use Node.js 18
17
13
uses : actions/setup-node@v3
18
14
with :
19
- node-version : ${{ matrix.node-version }}
15
+ node-version : 18
16
+ cache : ' npm'
20
17
- name : npm lint
21
18
run : |
22
19
npm ci
Original file line number Diff line number Diff line change 7
7
8
8
runs-on : ubuntu-latest
9
9
10
- strategy :
11
- matrix :
12
- node-version : [18.x]
13
-
14
10
steps :
15
11
- uses : actions/checkout@v2
16
- - name : Use Node.js ${{ matrix.node-version }}
12
+ - name : Use Node.js 18
17
13
uses : actions/setup-node@v1
18
14
with :
19
- node-version : ${{ matrix.node-version }}
15
+ node-version : 18
16
+ cache : ' npm'
20
17
- name : npm install, lint, and test
21
18
run : |
22
19
npm ci
Original file line number Diff line number Diff line change 7
7
8
8
runs-on : ubuntu-latest
9
9
10
- strategy :
11
- matrix :
12
- node-version : [18.x]
13
-
14
10
steps :
15
11
- uses : actions/checkout@v3
16
- - name : Use Node.js ${{ matrix.node-version }}
12
+ - name : Use Node.js 18
17
13
uses : actions/setup-node@v3
18
14
with :
19
- node-version : ${{ matrix.node-version }}
15
+ node-version : 18
16
+ cache : ' npm'
20
17
- name : npm lint
21
18
run : |
22
19
npm ci
You can’t perform that action at this time.
0 commit comments