@@ -10,35 +10,38 @@ jobs:
1010 test-webpack4 :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v2
14- - name : Set node version to 16
15- uses : actions/setup-node@v2
13+ - uses : actions/checkout@v3
14+ - uses : pnpm/action-setup@v2
15+ - uses : actions/setup-node@v3
1616 with :
17- node-version : 16
18- cache : ' yarn'
19- - run : yarn install
20- - run : yarn test:webpack4
17+ node-version : ' 16'
18+ cache : ' pnpm'
19+ - run : pnpm install
20+ - run : pnpm pretest:webpack4
21+ - run : pnpm test:webpack4
2122
2223 test-webpack5 :
2324 runs-on : ubuntu-latest
2425 steps :
25- - uses : actions/checkout@v2
26- - name : Set node version to 16
27- uses : actions/setup-node@v2
26+ - uses : actions/checkout@v3
27+ - uses : pnpm/action-setup@v2
28+ - uses : actions/setup-node@v3
2829 with :
29- node-version : 16
30- cache : ' yarn'
31- - run : yarn install
32- - run : yarn test
30+ node-version : ' 16'
31+ cache : ' pnpm'
32+ - run : pnpm install
33+ - run : pnpm pretest
34+ - run : pnpm test
3335
3436 test-webpack5-inline-match-resource :
3537 runs-on : ubuntu-latest
3638 steps :
37- - uses : actions/checkout@v2
38- - name : Set node version to 16
39- uses : actions/setup-node@v2
39+ - uses : actions/checkout@v3
40+ - uses : pnpm/action-setup@v2
41+ - uses : actions/setup-node@v3
4042 with :
41- node-version : 16
42- cache : ' yarn'
43- - run : yarn install
44- - run : yarn test:match-resource
43+ node-version : ' 16'
44+ cache : ' pnpm'
45+ - run : pnpm install
46+ - run : pnpm pretest:match-resource
47+ - run : pnpm test:match-resource
0 commit comments