Skip to content

Commit

Permalink
fix: setup pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Dec 12, 2024
1 parent d0dba9c commit 1d39752
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ jobs:
node-version: lts/*
cache: pnpm

- name: 📥 Download dependencies
run: pnpm i
- name: 📦 Setup PNPM
uses: pnpm/action-setup@v4
with:
version: 9
run_install: true

- name: 🧶 Lint
run: pnpm run lint
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ jobs:
cache: pnpm
node-version: lts/*

- name: 📥 Download dependencies
run: pnpm i
- name: 📦 Setup PNPM
uses: pnpm/action-setup@v4
with:
version: 9
run_install: true

- name: 🚢 Deploy to NPM as 'latest'
if: github.event.release.prerelease == false
Expand Down

0 comments on commit 1d39752

Please sign in to comment.