File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,12 +79,16 @@ jobs:
7979 - name : Checkout
8080 uses : actions/checkout@v4
8181
82- - name : Enable corepack and pnpm
83- run : |
84- corepack enable
85- corepack prepare pnpm@9 --activate
86- pnpm -v
87- node -v
82+ - name : Setup pnpm
83+ uses : pnpm/action-setup@v2
84+ with :
85+ version : 9
86+
87+ - name : Setup Node.js
88+ uses : actions/setup-node@v4
89+ with :
90+ node-version : ' 20'
91+ cache : ' pnpm'
8892
8993 - name : Install
9094 run : pnpm install
@@ -103,4 +107,3 @@ jobs:
103107
104108 - name : Test ${{ matrix.package }}
105109 run : cd ./packages/${{ matrix.package }} && pnpm test
106-
Original file line number Diff line number Diff line change @@ -52,12 +52,16 @@ jobs:
5252 - name : Checkout
5353 uses : actions/checkout@v4
5454
55- - name : Enable corepack and pnpm
56- run : |
57- corepack enable
58- corepack prepare pnpm@9 --activate
59- pnpm -v
60- node -v
55+ - name : Setup pnpm
56+ uses : pnpm/action-setup@v2
57+ with :
58+ version : 9
59+
60+ - name : Setup Node.js
61+ uses : actions/setup-node@v4
62+ with :
63+ node-version : ' 20'
64+ cache : ' pnpm'
6165
6266 - name : Install
6367 run : pnpm install
7478
7579 - name : Run Integration Tests
7680 run : ./scripts/test-all-packages.js
77-
You can’t perform that action at this time.
0 commit comments