Skip to content

Commit

Permalink
fix: use pnpm/action-setup@v3 in prepare action
Browse files Browse the repository at this point in the history
  • Loading branch information
SyMind committed Apr 19, 2024
1 parent a88b03d commit 02f44d1
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/actions/prepare-rspack-binding/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,11 @@ runs:
- uses: actions/setup-node@v3
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: |
cd ${{ inputs.path }}
pnpm --version
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
run_install: false
package_json_file: ${{ inputs.path }}/package.json
- id: rust-cache
uses: MasterworksIO/action-local-cache@2
with:
Expand Down

0 comments on commit 02f44d1

Please sign in to comment.