1
0
mirror of https://github.com/pnpm/action-setup.git synced 2026-03-10 08:31:44 +08:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Khải
c7c3994512
Merge 4b568c8023 into f2b2b233b5 2025-07-16 13:29:40 +07:00
Matthias
f2b2b233b5
Remove --frozen-lockfile from examples (#171) 2025-07-11 00:08:35 +02:00
Khải
4b568c8023
docs: remove v2 warning
@zkochan If you have tested that it work with newer Node.js versions, this warning can be removed.
2024-07-05 21:52:13 +07:00

View File

@ -1,7 +1,3 @@
> ## :warning: Upgrade from v2!
>
> The v2 version of this action [has stopped working](https://github.com/pnpm/action-setup/issues/135) with newer Node.js versions. Please, upgrade to the latest version to fix any issues.
# Setup pnpm # Setup pnpm
Install pnpm package manager. Install pnpm package manager.
@ -40,7 +36,7 @@ If `run_install` is a YAML string representation of either an object or an array
#### `run_install.args` #### `run_install.args`
**Optional** (_type:_ `string[]`) Additional arguments after `pnpm [recursive] install`, e.g. `[--frozen-lockfile, --strict-peer-dependencies]`. **Optional** (_type:_ `string[]`) Additional arguments after `pnpm [recursive] install`, e.g. `[--ignore-scripts, --strict-peer-dependencies]`.
### `package_json_file` ### `package_json_file`
@ -119,7 +115,7 @@ jobs:
version: 10 version: 10
run_install: run_install:
- recursive: true - recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies] args: [--strict-peer-dependencies]
- args: [--global, gulp, prettier, typescript] - args: [--global, gulp, prettier, typescript]
``` ```