Skip to content

Commit

Permalink
ci: install yarn@2, pnpm@5 for testing Node 10
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Oct 26, 2024
1 parent 86f11f9 commit de453d8
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,15 +225,29 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Install Yarn
- name: Install Yarn 2
if: matrix.node-version == 10
run: |
npm i -g yarn
yarn set version stable
npm i -g yarn@^2
- uses: actions/checkout@v4
- name: Install Yarn Latest
if: matrix.node-version == 22
run: |
npm i -g yarn@latest
- name: Install Pnpm 5
if: matrix.node-version == 10
uses: pnpm/action-setup@v4
with:
version: 5

- name: Install pnpm
- name: Install Pnpm 9
if: matrix.node-version == 22
uses: pnpm/action-setup@v4
with:
version: 9

- uses: actions/checkout@v4

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

0 comments on commit de453d8

Please sign in to comment.