Skip to content

Commit

Permalink
Use Corepack instead of pnpm/action-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvkb committed Sep 7, 2024
1 parent 0b93082 commit 30afeee
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,16 @@ jobs:
python-version-file: examples/pyproject.toml
cache-dependency-path: examples/pdm.lock

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x
cache: pnpm
cache-dependency-path: docs/pnpm-lock.yaml

- name: Enable Corepack
run: corepack enable pnpm

- name: Install all dependencies
run: just install

Expand Down

0 comments on commit 30afeee

Please sign in to comment.