Skip to content

Commit

Permalink
ci: fix by using pnpm
Browse files Browse the repository at this point in the history
Signed-off-by: euberdeveloper <[email protected]>
  • Loading branch information
euberdeveloper committed Jun 13, 2024
1 parent 623d870 commit 5a89fd0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,23 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [14.x, 15.x, 16.x, 17.x, 18.x, 19.x, 20.x, 21.x, 22.x]
pnpm-version: [9.x]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- name: Use pnpm ${{ matrix.pnpm-version }}
uses: pnpm/action-setup@v4
with:
version: ${{ matrix.pnpm-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install node dependencies
run: npm install
run: pnpm install

- name: Run tests
run: npm test
run: pnpm test

0 comments on commit 5a89fd0

Please sign in to comment.