99 steps :
1010 - name : Checkout the repository
1111 uses : actions/checkout@v2
12+ - name : Install pnpm
13+ uses : pnpm/action-setup@v2
14+ with :
15+ version : 6.23.6
1216 - name : Install Node.js
1317 uses : actions/setup-node@v2
1418 with :
1519 node-version : 17
16- cache : yarn
20+ cache : pnpm
1721 - name : Install dependencies
18- run : yarn --frozen-lockfile
22+ run : pnpm install --frozen-lockfile
1923 - name : Run tests
20- run : yarn test
24+ run : pnpm test
2125 env :
2226 FORCE_COLOR : 2
2327 short :
@@ -28,38 +32,69 @@ jobs:
2832 - 16
2933 - 14
3034 - 12
35+ name : Node.js ${{ matrix.node-version }} Quick
36+ steps :
37+ - name : Checkout the repository
38+ uses : actions/checkout@v2
39+ - name : Install pnpm
40+ uses : pnpm/action-setup@v2
41+ with :
42+ version : 6.23.6
43+ - name : Install Node.js ${{ matrix.node-version }}
44+ uses : actions/setup-node@v2
45+ with :
46+ node-version : ${{ matrix.node-version }}
47+ cache : pnpm
48+ - name : Install dependencies
49+ run : pnpm install --frozen-lockfile --ignore-scripts
50+ - name : Run unit tests
51+ run : pnpm unit
52+ env :
53+ FORCE_COLOR : 2
54+ old :
55+ runs-on : ubuntu-latest
56+ strategy :
57+ matrix :
58+ node-version :
3159 - 10
3260 name : Node.js ${{ matrix.node-version }} Quick
3361 steps :
3462 - name : Checkout the repository
3563 uses : actions/checkout@v2
64+ - name : Install pnpm
65+ uses : pnpm/action-setup@v1
66+ with :
67+ version : 3.8.1
68+ env :
69+ ACTIONS_ALLOW_UNSECURE_COMMANDS : true
3670 - name : Install Node.js ${{ matrix.node-version }}
3771 uses : actions/setup-node@v2
3872 with :
3973 node-version : ${{ matrix.node-version }}
40- cache : yarn
4174 - name : Install dependencies
42- run : yarn --frozen-lockfile --ignore-engines
75+ run : pnpm install --frozen-lockfile --ignore-scripts
4376 - name : Run unit tests
44- run : yarn unit
77+ run : pnpm unit
4578 env :
4679 FORCE_COLOR : 2
4780 windows :
4881 runs-on : windows-latest
4982 name : Windows Quick
50- env :
51- YARN_GPG : ' no'
5283 steps :
5384 - name : Checkout the repository
5485 uses : actions/checkout@v2
86+ - name : Install pnpm
87+ uses : pnpm/action-setup@v2
88+ with :
89+ version : 6.23.6
5590 - name : Install Node.js LTS
5691 uses : actions/setup-node@v2
5792 with :
5893 node-version : 16
59- cache : yarn
94+ cache : pnpm
6095 - name : Install dependencies
61- run : yarn install --frozen-lockfile
96+ run : pnpm install --frozen-lockfile --ignore-scripts
6297 - name : Run unit tests
63- run : yarn unit
98+ run : pnpm unit
6499 env :
65100 FORCE_COLOR : 2
0 commit comments