Skip to content

Commit

Permalink
feat: setup pnpm in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nvh95 committed Aug 3, 2022
1 parent 0df5af8 commit 6091447
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.2.2
with:
version: 7
- name: Use Node.js ${{ matrix.node-version }}
# `setup-node` already caches npm
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build package
Expand Down

0 comments on commit 6091447

Please sign in to comment.