File tree 3 files changed +25
-21
lines changed
3 files changed +25
-21
lines changed Original file line number Diff line number Diff line change 6
6
- master
7
7
pull_request :
8
8
branches :
9
- - ' ** '
9
+ - " ** "
10
10
11
11
jobs :
12
12
build :
13
13
runs-on : ubuntu-20.04
14
14
steps :
15
- - name : Checkout
16
- uses : actions/checkout@v2
15
+ - name : Checkout
16
+ uses : actions/checkout@v2
17
17
18
- - name : Setup Nodejs
19
- uses : actions/setup-node@v1
20
- with :
21
- node-version : 12
18
+ - name : Setup Nodejs
19
+ run : echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
20
+ uses : dcodeIO/setup-node-nvm@v4
21
+ with :
22
+ node-version : " ${{ env.NODE_VER }}"
22
23
23
- - name : Install dependencies
24
- run : npm ci
24
+ - name : Install dependencies
25
+ run : npm ci
25
26
26
- - name : Lint
27
- run : npm run lint
27
+ - name : Lint
28
+ run : npm run lint
28
29
29
- - name : Test
30
- run : npm run test
30
+ - name : Test
31
+ run : npm run test
31
32
32
- - name : Build
33
- run : npm run build
33
+ - name : Build
34
+ run : npm run build
34
35
35
- - name : Docs
36
- run : npm run docs
36
+ - name : Docs
37
+ run : npm run docs
37
38
38
- - name : Run Coverage
39
- uses : codecov/codecov-action@v2
39
+ - name : Run Coverage
40
+ uses : codecov/codecov-action@v2
Original file line number Diff line number Diff line change 15
15
fetch-depth : 0
16
16
17
17
- name : Setup Node.js
18
- uses : actions/setup-node@v1
18
+ run : echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
19
+ uses : dcodeIO/setup-node-nvm@v4
19
20
with :
20
- node-version : 12
21
+ node-version : " ${{ env.NODE_VER }} "
21
22
22
23
- name : Install dependencies
23
24
run : npm ci
Original file line number Diff line number Diff line change
1
+ v16
2
+
You can’t perform that action at this time.
0 commit comments