Skip to content

Commit

Permalink
ci: use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
ayZagen committed Aug 20, 2024
1 parent d09dd59 commit 9a16dc6
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Use Node.js 16
uses: actions/setup-node@v1
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
node-version: 16.x
- run: npm install
- run: npm run test:coverage
version: 9
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- run: pnpm run test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
Expand Down

0 comments on commit 9a16dc6

Please sign in to comment.