File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -10,25 +10,24 @@ jobs:
1010 test-webpack4 :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v1
13+ - uses : actions/checkout@v2
1414 - name : Set node version to 16
1515 uses : actions/setup-node@v2
1616 with :
1717 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
2322
2423 test-webpack5 :
2524 runs-on : ubuntu-latest
2625 steps :
27- - uses : actions/checkout@v1
26+ - uses : actions/checkout@v2
2827 - name : Set node version to 16
2928 uses : actions/setup-node@v2
3029 with :
3130 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