Skip to content

Commit

Permalink
modify github actions to use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
BrtqKr committed Oct 16, 2024
1 parent e0a076a commit 2dc93af
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,16 @@ jobs:
with:
components: rustfmt, clippy

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: 🛠 Setup Node.JS
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'

- name: 📥 Checkout repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -66,5 +72,5 @@ jobs:
- name: 🖋️ Run website lint + typecheck + build
working-directory: ./docs
run: |
npm ci
npm run typecheck && npm run lint --max-warnings=0 && npm run build
pnpm install --frozen-lockfile
pnpm run typecheck && pnpm run lint --max-warnings=0 && pnpm run build

0 comments on commit 2dc93af

Please sign in to comment.