File tree 5 files changed +6837
-2517
lines changed
5 files changed +6837
-2517
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ name: Node.js CI
5
5
6
6
on :
7
7
push :
8
- branches : [ master ]
8
+ branches : [main ]
9
9
pull_request :
10
- branches : [ master ]
10
+ branches : [main ]
11
11
12
12
jobs :
13
13
build :
@@ -16,12 +16,12 @@ jobs:
16
16
17
17
strategy :
18
18
matrix :
19
- node-version : [10.x, 12 .x]
19
+ node-version : [16 .x]
20
20
21
21
steps :
22
- - uses : actions/checkout@v2
22
+ - uses : actions/checkout@v4
23
23
- name : Use Node.js ${{ matrix.node-version }}
24
- uses : actions/setup-node@v1
24
+ uses : actions/setup-node@v4
25
25
with :
26
26
node-version : ${{ matrix.node-version }}
27
27
- run : npm install
Original file line number Diff line number Diff line change @@ -11,21 +11,21 @@ jobs:
11
11
build :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v2
15
- - uses : actions/setup-node@v1
14
+ - uses : actions/checkout@v4
15
+ - uses : actions/setup-node@v4
16
16
with :
17
- node-version : 12
17
+ node-version : 16
18
18
- run : npm install
19
19
- run : npm test
20
20
21
21
publish-npm :
22
22
needs : build
23
23
runs-on : ubuntu-latest
24
24
steps :
25
- - uses : actions/checkout@v2
26
- - uses : actions/setup-node@v1
25
+ - uses : actions/checkout@v4
26
+ - uses : actions/setup-node@v4
27
27
with :
28
- node-version : 12
28
+ node-version : 16
29
29
registry-url : https://registry.npmjs.org/
30
30
- run : npm install
31
31
- run : npm publish
You can’t perform that action at this time.
0 commit comments