Skip to content

Commit de453d8

Browse files
committed
ci: install yarn@2, pnpm@5 for testing Node 10
1 parent 86f11f9 commit de453d8

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

.github/workflows/CI.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,29 @@ jobs:
225225
with:
226226
node-version: ${{ matrix.node-version }}
227227

228-
- name: Install Yarn
228+
- name: Install Yarn 2
229+
if: matrix.node-version == 10
229230
run: |
230-
npm i -g yarn
231-
yarn set version stable
231+
npm i -g yarn@^2
232232
233-
- uses: actions/checkout@v4
233+
- name: Install Yarn Latest
234+
if: matrix.node-version == 22
235+
run: |
236+
npm i -g yarn@latest
237+
238+
- name: Install Pnpm 5
239+
if: matrix.node-version == 10
240+
uses: pnpm/action-setup@v4
241+
with:
242+
version: 5
234243

235-
- name: Install pnpm
244+
- name: Install Pnpm 9
245+
if: matrix.node-version == 22
236246
uses: pnpm/action-setup@v4
247+
with:
248+
version: 9
249+
250+
- uses: actions/checkout@v4
237251

238252
- name: Smoke Test
239253
run: npm run test.smoke

0 commit comments

Comments
 (0)