File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,18 @@ jobs:
10
10
strategy :
11
11
matrix :
12
12
node :
13
- - 14 .x
13
+ - 18 .x
14
14
15
15
runs-on : ubuntu-20.04
16
16
name : Node.js ${{ matrix.node }}
17
17
steps :
18
- - uses : actions/checkout@v2
18
+ - uses : actions/checkout@v3
19
19
20
20
- name : Use Node.js ${{ matrix.node }}
21
- uses : actions/setup-node@v2
21
+ uses : actions/setup-node@v3
22
22
with :
23
23
node-version : ${{ matrix.node }}
24
- - uses : actions/cache@v2
24
+ - uses : actions/cache@v3
25
25
with :
26
26
path : ~/.npm
27
27
key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Original file line number Diff line number Diff line change @@ -12,22 +12,22 @@ jobs:
12
12
13
13
strategy :
14
14
matrix :
15
- node-version : [14 .x]
15
+ node-version : [18 .x]
16
16
steps :
17
- - uses : actions/checkout@v2
17
+ - uses : actions/checkout@v3
18
18
- name : Use Node.js ${{ matrix.node-version }}
19
- uses : actions/setup-node@v1
19
+ uses : actions/setup-node@v3
20
20
with :
21
21
node-version : ${{ matrix.node-version }}
22
- - uses : actions/cache@v2
22
+ - uses : actions/cache@v3
23
23
with :
24
24
path : ~/.npm
25
25
key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
26
26
restore-keys : |
27
27
${{ runner.os }}-node-
28
28
- name : Set output
29
29
id : vars
30
- run : echo ::set-output name=tag::${GITHUB_REF#refs/*/}
30
+ run : echo name=tag::${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT
31
31
- name : Check output
32
32
env :
33
33
RELEASE_VERSION : ${{ steps.vars.outputs.tag }}
36
36
echo ${{ steps.vars.outputs.tag }}
37
37
- run : npm update
38
38
- run : npm install
39
- - uses : actions/upload-artifact@v2
39
+ - uses : actions/upload-artifact@v3
40
40
with :
41
41
name : build
42
42
path : |
You can’t perform that action at this time.
0 commit comments