File tree 1 file changed +9
-10
lines changed
1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -10,25 +10,24 @@ jobs:
10
10
test-webpack4 :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v1
13
+ - uses : actions/checkout@v2
14
14
- name : Set node version to 16
15
15
uses : actions/setup-node@v2
16
16
with :
17
17
node-version : 16
18
- - uses : bahmutov/npm-install@v1
19
- - name : Lint
20
- run : yarn lint
21
- - name : Run tests for webpack 4
22
- run : yarn test
18
+ cache : ' yarn'
19
+ - run : yarn install
20
+ - run : yarn lint
21
+ - run : yarn test
23
22
24
23
test-webpack5 :
25
24
runs-on : ubuntu-latest
26
25
steps :
27
- - uses : actions/checkout@v1
26
+ - uses : actions/checkout@v2
28
27
- name : Set node version to 16
29
28
uses : actions/setup-node@v2
30
29
with :
31
30
node-version : 16
32
- - uses : bahmutov/npm-install@v1
33
- - name : Run tests for webpack 5
34
- run : yarn test:webpack5
31
+ cache : ' yarn '
32
+ - run : yarn install
33
+ - run : yarn test:webpack5
You can’t perform that action at this time.
0 commit comments