Skip to content

Commit

Permalink
chore: enable Corepack before setting up Node.js in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
geekdada committed Nov 20, 2024
1 parent aae201d commit 9be8e1b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,17 @@ jobs:
steps:
- uses: actions/checkout@v3

# This has to be done before setting up Node.js,
# more info found in https://github.com/actions/setup-node/issues/531#issuecomment-1872977503
- name: Enable Corepack
run: corepack enable

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: Enable Corepack
run: corepack enable

- name: Install dependencies
run: |
pnpm install
Expand Down

0 comments on commit 9be8e1b

Please sign in to comment.