Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: corepack proxy #35

Merged
merged 2 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/actions/build-rspack/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@ runs:
with:
node-version: 18
- shell: bash
run: corepack enable
name: Install package manager
run: |
npm install -g corepack@latest
echo "Corepack version: $(corepack --version)"
corepack enable

- shell: bash
run: pnpm --version
- name: Checkout Rspack repo
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/prepare-rspack-binding/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ runs:
with:
node-version: ${{ inputs.node-version }}
- shell: bash
name: Install package manager
run: |
cd ${{ inputs.path }}
npm install -g corepack@latest
echo "Corepack version: $(corepack --version)"
corepack enable
- shell: bash
run: |
Expand Down
Loading