@@ -18,15 +18,15 @@ jobs:
18
18
name : Lint code
19
19
runs-on : ubuntu-latest
20
20
steps :
21
- - uses : actions/checkout@v2
21
+ - uses : actions/checkout@v3
22
22
- name : Use Node.js
23
- uses : actions/setup-node@v1
23
+ uses : actions/setup-node@v3
24
24
with :
25
- node-version : 14.x
25
+ node-version : lts/*
26
26
- name : Get yarn cache directory path
27
27
id : yarn-cache-dir-path
28
28
run : echo "::set-output name=dir::$(yarn cache dir)"
29
- - uses : actions/cache@v2
29
+ - uses : actions/cache@v3
30
30
id : yarn-cache
31
31
with :
32
32
path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -40,17 +40,17 @@ jobs:
40
40
runs-on : ubuntu-latest
41
41
strategy :
42
42
matrix :
43
- node-version : [14.x, 15.x ]
43
+ node-version : [lts/*, current ]
44
44
steps :
45
- - uses : actions/checkout@v2
45
+ - uses : actions/checkout@v3
46
46
- name : Use Node.js ${{ matrix.node-version }}
47
- uses : actions/setup-node@v1
47
+ uses : actions/setup-node@v3
48
48
with :
49
49
node-version : ${{ matrix.node-version }}
50
50
- name : Get yarn cache directory path
51
51
id : yarn-cache-dir-path
52
52
run : echo "::set-output name=dir::$(yarn cache dir)"
53
- - uses : actions/cache@v2
53
+ - uses : actions/cache@v3
54
54
id : yarn-cache
55
55
with :
56
56
path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -60,20 +60,20 @@ jobs:
60
60
- run : yarn install --frozen-lockfile --prefer-offline
61
61
- run : yarn test
62
62
- name : Codecov
63
- uses : codecov/codecov-action@v1
63
+ uses : codecov/codecov-action@v3
64
64
verify-website :
65
65
name : Verify website
66
66
runs-on : ubuntu-latest
67
67
steps :
68
- - uses : actions/checkout@v2
68
+ - uses : actions/checkout@v3
69
69
- name : Use Node.js
70
- uses : actions/setup-node@v1
70
+ uses : actions/setup-node@v3
71
71
with :
72
- node-version : 14.x
72
+ node-version : lts/*
73
73
- name : Get yarn cache directory path
74
74
id : yarn-cache-dir-path
75
75
run : echo "::set-output name=dir::$(yarn cache dir)"
76
- - uses : actions/cache@v2
76
+ - uses : actions/cache@v3
77
77
id : yarn-cache
78
78
with :
79
79
path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -94,16 +94,16 @@ jobs:
94
94
- verify-website
95
95
if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
96
96
steps :
97
- - uses : actions/checkout@v2
97
+ - uses : actions/checkout@v3
98
98
- name : Use Node.js
99
- uses : actions/setup-node@v1
99
+ uses : actions/setup-node@v3
100
100
with :
101
- node-version : 14.x
101
+ node-version : lts/*
102
102
registry-url : ' https://registry.npmjs.org'
103
103
- name : Get yarn cache directory path
104
104
id : yarn-cache-dir-path
105
105
run : echo "::set-output name=dir::$(yarn cache dir)"
106
- - uses : actions/cache@v2
106
+ - uses : actions/cache@v3
107
107
id : yarn-cache
108
108
with :
109
109
path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -124,16 +124,16 @@ jobs:
124
124
- verify-website
125
125
if : github.ref == 'refs/heads/master'
126
126
steps :
127
- - uses : actions/checkout@v2
127
+ - uses : actions/checkout@v3
128
128
- name : Use Node.js
129
- uses : actions/setup-node@v1
129
+ uses : actions/setup-node@v3
130
130
with :
131
- node-version : 14.x
131
+ node-version : lts/*
132
132
registry-url : ' https://registry.npmjs.org'
133
133
- name : Get yarn cache directory path
134
134
id : yarn-cache-dir-path
135
135
run : echo "::set-output name=dir::$(yarn cache dir)"
136
- - uses : actions/cache@v2
136
+ - uses : actions/cache@v3
137
137
id : yarn-cache
138
138
with :
139
139
path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
0 commit comments