5
0
mirror of https://github.com/pnpm/action-setup.git synced 2026-08-05 02:31:37 +00:00
Commit Graph

63 Commits

Author SHA1 Message Date
Kevin Cui 6fed91f804 docs(README): point users to the successor pnpm/setup action (#282)
* docs(README): point users to the successor pnpm/setup action

The pnpm setup action has moved to `pnpm/setup`, which installs
pnpm v11+ as a self-contained native executable and can install a
JavaScript runtime (Node.js, Bun, or Deno) in the same step,
replacing `actions/setup-node`.

Add a notice at the top of the README, a migration section with a
before/after workflow example and an input/output mapping table,
and mention the successor in the Notes section. The rest of the
docs stay intact since `pnpm/action-setup` remains the way to
install pnpm v10 and older.

Signed-off-by: Kevin Cui <bh@bugs.cc>

* docs(README): address review feedback on migration section

Add an explicit version: 11 to the migration example and note when the
input can be omitted, since pnpm/setup requires pnpm v11+ and a repo
migrating from version: 10 may have no packageManager field or one that
pins v10.

Move the v2 upgrade warning below the page title so the two callouts
are no longer adjacent blockquotes (markdownlint MD028), keeping the
successor notice and the legacy warning as separate blocks.

Fix the comma splice and use "set up" as the verb in the Notes
section.

Signed-off-by: Kevin Cui <bh@bugs.cc>

---------

Signed-off-by: Kevin Cui <bh@bugs.cc>
2026-08-02 22:56:56 -04:00
Andrew Haines 551b42e879 docs(README): fix cache_dependency_path type (#257)
* docs(README): fix `cache_dependency_path` type

* docs(README): add multiple lockfile example

* docs: update input description to match README
2026-05-11 16:41:41 +02:00
Zoltan Kochan 08c4be7e2e docs(README): update action-setup version 2026-04-10 23:08:33 +02:00
Andreas Deininger 3852509c9e README.md: bring versions up-to-date (#222) 2026-04-10 22:48:51 +02:00
Zoltan Kochan 738f428026 docs: upgrade pnpm/action-setup from v4 to v5 2026-03-26 22:31:06 +01:00
Jeremiasz Major e94b270858 feat: store caching (#188)
* add pnpm store caching

* style: format

* no semicolons
* no star imports
* import order

* style: no star imports

---------

Co-authored-by: khai96_ <hvksmr1996@gmail.com>
2025-12-07 22:16:49 +01:00
Roman Usherenko 72f04517b7 Update README.md (#175)
fix the string run_install example
2025-12-05 15:32:46 +01:00
Matthias f2b2b233b5 Remove --frozen-lockfile from examples (#171) 2025-07-11 00:08:35 +02:00
Matthias 77504a59bc Fix multiline run_install example in README.md (#167) 2025-06-25 18:10:02 +02:00
Daniel Bayley 6e3017af18 docs: support package.yaml (#157) 2025-02-06 22:13:04 +01:00
Azat S. e303250a24 docs: update pnpm version in readme examples (#154) 2025-01-09 00:42:18 +01:00
Karl Horky ac5bf11548 Update examples to use pnpm v9 (#142) 2024-08-14 16:07:48 +02:00
its-monotype 18ac635edf docs: remove redundant manual cache due to setup-node cache (#131) 2024-07-05 15:24:26 +02:00
Zoltan Kochan 0d0b43217a docs: add warning about v2 2024-07-05 14:37:28 +02:00
Karl Horky 0eb0e97082 Add readme example for omitting version (#134)
* Add readme example for omitting `version`

* docs: more detailed explanations

---------

Co-authored-by: Khải <hvksmr1996@gmail.com>
2024-07-04 10:37:24 +02:00
hyesung oh 23657c8550 docs: change order of setup node and pnpm (#129) 2024-06-16 14:33:23 +02:00
Ben McCann 00884bcdc5 docs: use cached pnpm installation (#128) 2024-06-12 16:38:46 +02:00
Zoltan Kochan fe02b34f77 docs: bump action-setup version in README 2024-05-07 15:16:48 +02:00
Zoltan Kochan 2ab6dce4f5 docs(README): fix link to LICENSE 2024-03-27 22:17:57 +01:00
Ethan Neff e280758d01 docs(README): update dependency versions (#117) 2024-03-27 22:12:51 +01:00
Zoltan Kochan a3252b78c4 docs(README): update version 2024-02-08 11:28:50 +01:00
Steven Yung d2613e087f docs: update pnpm version in caching example (#94) 2023-09-27 19:17:23 +03:00
Khải d882d12c64 feat: standalone binary (#92)
* feat: add an option to install the self-contained binary version of pnpm

* test: add a test about nodejs_bundled

* style: remove an empty line

* chore: use newer pnpm

* chore: update dependencies

* feat: rename `nodejs_bundled` to `standalone`

as @zkochan suggested

* docs: add

---------

Co-authored-by: Takashi Sato <takashi@tks.st>
2023-07-26 14:50:04 +03:00
Khải 0b715c7ebb Merge pull request #75 from ojeytonwilliams/fix/caching-example
docs: update the caching example
2023-07-25 17:00:41 +07:00
Khải 2ed49cbb02 Merge pull request #88 from KengoTODA/make-path-configurable
support projects that have package.json in non-root directory
2023-07-25 16:59:00 +07:00
khai96_ f92eb0edb6 docs: update pnpm version in readme
fixes https://github.com/pnpm/action-setup/issues/89
2023-07-25 13:50:35 +07:00
Kengo TODA b27f801bf9 feat: add package_json_file option
Signed-off-by: Kengo TODA <skypencil@gmail.com>
2023-07-08 07:02:46 +08:00
Oliver Eyton-Williams 61eb8c655a docs: update the caching example 2023-03-08 00:13:47 +01:00
Michael Rienstra 7208fa2733 docs: drop minor & patch version from examples 2022-11-01 21:55:20 -07:00
Michael Rienstra d5601fb603 bump first occurrence of actions/checkout to v3 2022-10-25 10:52:54 -07:00
Michael Rienstra bc06aa6030 typo: not latest version 2022-10-25 10:42:24 -07:00
Mel Massadian c8a150e137 fix: ️ just use shell:bash
set-output is deprecated see #58
2022-10-18 12:23:15 +02:00
Mel Massadian ed0172a253 fix: ️ cross-platform example 2022-10-18 12:02:38 +02:00
Zoltan Kochan c3b53f6a16 chore(release): 2.2.4 2022-10-15 21:12:50 +03:00
Sébastien Vanvelthem 6f9e9a867a docs: update to new github env 2022-10-13 16:58:06 +02:00
Lew Blood 6e1964dde3 Fix spacing issue in README.md example (#48) 2022-06-17 23:17:05 +03:00
Zoltan Kochan 99ecd24520 v2.2.2 2022-05-28 17:22:28 +03:00
Khải ec1a8b444c Change runs-on back to ubuntu-latest 2022-05-07 09:59:56 +07:00
Nelson Martell 73e15250cb docs(readme): improve and fix cache example
Dynamically detect the Store directory and use the latest GitHub actions.
2022-05-06 21:57:00 -05:00
Jack Works 1d51e20937 feat: try support packageManager 2022-02-22 12:26:05 +08:00
khai96_ 2270f39ef6 v2.1.0 2022-02-08 19:53:18 +07:00
Eric Liu 45d9c91ff6 Specify job name to fix syntax error 2022-01-29 08:17:29 -08:00
Andrey Sitnik d70eebd14a Update README.md
Co-authored-by: Khải <hvksmr1996@gmail.com>
2021-12-16 17:18:46 +03:00
Andrey Sitnik 3bf8acf16f Improve version docs 2021-12-16 17:12:07 +03:00
Khải bcad811784 Remove unused env from examples 2021-07-24 08:25:23 +07:00
Khải 602b36f177 Remove uses of undefined variables from examples 2021-07-24 08:22:22 +07:00
Jack Works 493e98ec5e Update README.md 2021-06-01 10:42:26 +08:00
khai96_ 646cdf4821 Update versions in README examples to the latest 2021-04-24 21:13:36 +07:00
Zoltan Kochan 41b381a08b docs(readme): PNPM=>pnpm 2021-03-27 13:45:01 +02:00
khai96_ 2124926520 Update README.md 2021-03-23 12:53:37 +07:00