Skip to content

Commit

Permalink
fix: corepack proxy (#35)
Browse files Browse the repository at this point in the history
* fix: corepack proxy

* fix: lock corepack 0.24.1
  • Loading branch information
SyMind authored Apr 19, 2024
1 parent 37d36d8 commit 28f0e26
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/actions/build-rspack/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ runs:
with:
node-version: 18
- shell: bash
run: corepack enable
- shell: bash
run: pnpm --version
name: Install package manager
run: |
npm install -g [email protected]
echo "Corepack version: $(corepack --version)"
corepack enable
- name: Checkout Rspack repo
uses: actions/checkout@v4
with:
Expand Down
7 changes: 3 additions & 4 deletions .github/actions/prepare-rspack-binding/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,12 @@ runs:
with:
node-version: ${{ inputs.node-version }}
- shell: bash
name: Install package manager
run: |
cd ${{ inputs.path }}
npm install -g [email protected]
echo "Corepack version: $(corepack --version)"
corepack enable
- shell: bash
run: |
cd ${{ inputs.path }}
pnpm --version
- id: rust-cache
uses: MasterworksIO/action-local-cache@2
with:
Expand Down

0 comments on commit 28f0e26

Please sign in to comment.