mirror of
https://github.com/pnpm/action-setup
synced 2026-09-07 04:20:56 +02:00
refactor: use pnpm 12 native bootstrap
Install the plain pnpm v12 package as the single native bootstrap, remove the legacy @pnpm/exe lockfile and runtime path, and retain the standalone input as a no-op for workflow compatibility.
This commit is contained in:
@@ -178,9 +178,7 @@ jobs:
|
||||
shell: bash
|
||||
|
||||
standalone:
|
||||
# npm 12 blocks dependency lifecycle scripts by default. @pnpm/exe needs
|
||||
# its install script to replace the placeholder with the native binary.
|
||||
name: 'Standalone mode (pnpm 12 / npm 12)'
|
||||
name: 'Native pnpm bootstrap (npm 12)'
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -192,7 +190,9 @@ jobs:
|
||||
node-version: 26
|
||||
|
||||
- name: Use npm 12
|
||||
run: npm install --global npm@12.0.2
|
||||
run: |
|
||||
npm install --global npm@12.0.2
|
||||
test "$(npm --version)" = "12.0.2"
|
||||
|
||||
- name: Run the action
|
||||
uses: ./
|
||||
|
||||
Reference in New Issue
Block a user