File tree 4 files changed +1288
-9074
lines changed
4 files changed +1288
-9074
lines changed Original file line number Diff line number Diff line change 9
9
jobs :
10
10
tests :
11
11
runs-on : ubuntu-latest
12
- strategy :
13
- matrix :
14
- node : [16]
15
12
steps :
16
13
- name : Checkout
17
14
uses : actions/checkout@v2
18
15
with :
19
16
fetch-depth : 0
17
+ - name : Setup Nodejs Env
18
+ run : echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
20
19
- name : Setup Nodejs
21
20
uses : actions/setup-node@v1
22
21
with :
23
- node-version : ${{ matrix.node }}
22
+ node-version : ${{ env.NODE_VER }}
24
23
- name : Install dependencies
25
24
run : npm ci
26
25
- name : Lint
Original file line number Diff line number Diff line change @@ -12,13 +12,15 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- name : Checkout
15
- uses : actions/checkout@v2
15
+ uses : actions/checkout@v3
16
16
with :
17
17
fetch-depth : 0
18
+ - name : Setup Nodejs Env
19
+ run : echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
18
20
- name : Setup Node.js
19
- uses : actions/setup-node@v1
21
+ uses : actions/setup-node@v3
20
22
with :
21
- node-version : 16
23
+ node-version : ${{ env.NODE_VER }}
22
24
- name : Install dependencies
23
25
run : npm ci
24
26
- name : Lint
Original file line number Diff line number Diff line change
1
+ 18
You can’t perform that action at this time.
0 commit comments