Skip to content

Commit

Permalink
ci: fix corepack failure (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
gruhn authored Feb 11, 2025
1 parent bb75c99 commit c91781b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- run: corepack enable
# fix corepack issue: https://github.com/nodejs/corepack/issues/627
- name: Use Latest Corepack
run: |
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
npm install -g corepack@latest
echo "After : corepack version => $(corepack --version)"
corepack enable
pnpm --version
- name: Setup Node
uses: actions/setup-node@v1
with:
Expand Down

0 comments on commit c91781b

Please sign in to comment.