Skip to content

Commit

Permalink
ci: setup pnpm before node for proper caching
Browse files Browse the repository at this point in the history
  • Loading branch information
devin-ai-integration[bot] and jamesbroadhead committed Jan 24, 2025
1 parent 29ba9d7 commit 4374ea9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9.14.2
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'pnpm'
- name: Install
run: pnpm install --frozen-lockfile
- name: Build
Expand Down

0 comments on commit 4374ea9

Please sign in to comment.