@@ -11,19 +11,19 @@ jobs:
11
11
strategy :
12
12
matrix :
13
13
os : [ubuntu-latest, windows-latest]
14
- node-version : [12 .x]
14
+ node-version : [18 .x]
15
15
steps :
16
16
- name : Use Node.js ${{ matrix.node-version }}
17
- uses : actions/setup-node@v1
17
+ uses : actions/setup-node@main
18
18
with :
19
19
node-version : ${{ matrix.node-version }}
20
- - uses : actions/checkout@v2
20
+ - uses : actions/checkout@main
21
21
with :
22
22
fetch-depth : 3
23
23
- name : Get origin master
24
24
run : |
25
25
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
26
- - uses : actions/cache@v1
26
+ - uses : actions/cache@main
27
27
id : workspace-cache
28
28
with :
29
29
path : node_modules
@@ -32,28 +32,29 @@ jobs:
32
32
${{ runner.os }}-${{ matrix.node-version }}-workspace-
33
33
- name : Install Dependencies
34
34
run : yarn install --frozen-lockfile
35
+
35
36
lint :
36
37
runs-on : ${{ matrix.os }}
37
38
38
39
needs : [setup]
39
40
strategy :
40
41
matrix :
41
42
os : [ubuntu-latest, windows-latest]
42
- node-version : [12 .x]
43
+ node-version : [18 .x]
43
44
44
45
steps :
45
46
- name : Use Node.js ${{ matrix.node-version }}
46
- uses : actions/setup-node@v1
47
+ uses : actions/setup-node@main
47
48
with :
48
49
node-version : ${{ matrix.node-version }}
49
- - uses : actions/checkout@v2
50
+ - uses : actions/checkout@main
50
51
with :
51
52
fetch-depth : 3
52
53
- name : Get origin master
53
54
if : github.event_name == 'pull_request'
54
55
run : |
55
56
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
56
- - uses : actions/cache@v1
57
+ - uses : actions/cache@main
57
58
id : workspace-cache
58
59
with :
59
60
path : node_modules
@@ -78,21 +79,21 @@ jobs:
78
79
strategy :
79
80
matrix :
80
81
os : [ubuntu-latest, windows-latest]
81
- node-version : [12 .x]
82
+ node-version : [18 .x]
82
83
83
84
steps :
84
85
- name : Use Node.js ${{ matrix.node-version }}
85
- uses : actions/setup-node@v1
86
+ uses : actions/setup-node@main
86
87
with :
87
88
node-version : ${{ matrix.node-version }}
88
- - uses : actions/checkout@v2
89
+ - uses : actions/checkout@main
89
90
with :
90
91
fetch-depth : 3
91
92
- name : Get origin master
92
93
if : github.event_name == 'pull_request'
93
94
run : |
94
95
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
95
- - uses : actions/cache@v1
96
+ - uses : actions/cache@main
96
97
id : workspace-cache
97
98
with :
98
99
path : node_modules
@@ -117,21 +118,21 @@ jobs:
117
118
strategy :
118
119
matrix :
119
120
os : [ubuntu-latest, windows-latest]
120
- node-version : [12 .x]
121
+ node-version : [18 .x]
121
122
122
123
steps :
123
124
- name : Use Node.js ${{ matrix.node-version }}
124
- uses : actions/setup-node@v1
125
+ uses : actions/setup-node@main
125
126
with :
126
127
node-version : ${{ matrix.node-version }}
127
- - uses : actions/checkout@v2
128
+ - uses : actions/checkout@main
128
129
with :
129
130
fetch-depth : 3
130
131
- name : Get origin master
131
132
if : github.event_name == 'pull_request'
132
133
run : |
133
134
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
134
- - uses : actions/cache@v1
135
+ - uses : actions/cache@main
135
136
id : workspace-cache
136
137
with :
137
138
path : node_modules
0 commit comments