mirror of
https://github.com/pnpm/action-setup.git
synced 2026-06-30 09:08:16 +00:00
Compare commits
2 Commits
00884bcdc5
...
5d79380f29
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d79380f29 | ||
|
|
562dbbf611 |
@ -23,6 +23,11 @@ inputs:
|
||||
description: When set to true, @pnpm/exe, which is a Node.js bundled package, will be installed, enabling using pnpm without Node.js.
|
||||
required: false
|
||||
default: 'false'
|
||||
outputs:
|
||||
dest:
|
||||
description: Expanded path of inputs#dest
|
||||
bin_dest:
|
||||
description: Location of `pnpm` and `pnpx` command
|
||||
runs:
|
||||
using: node20
|
||||
main: dist/index.js
|
||||
|
||||
@ -72,7 +72,7 @@ Remove one of these versions to avoid version mismatch errors like ERR_PNPM_BAD_
|
||||
|
||||
if (!GITHUB_WORKSPACE) {
|
||||
throw new Error(`No workspace is found.
|
||||
If you're intended to let pnpm/action-setup read preferred pnpm version from the "packageManager" field in the package.json file,
|
||||
If you've intended to let pnpm/action-setup read preferred pnpm version from the "packageManager" field in the package.json file,
|
||||
please run the actions/checkout before pnpm/action-setup.
|
||||
Otherwise, please specify the pnpm version in the action configuration.`)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user