1
0
mirror of https://github.com/pnpm/action-setup.git synced 2026-03-01 07:51:02 +08:00
Commit Graph

33 Commits

Author SHA1 Message Date
Justin Linn
e7a4f3e592
chore: sync with upstream pnpm/action-setup v4.2.0
Merge latest upstream changes including:
- Store caching support (cache and cache_dependency_path inputs)
- Custom NPM registry installation support
- Refactored star imports
- CI improvements (pinned actions, excluded macOS)
- README and documentation updates
- Dependency cleanup (removed unused @types/node-fetch)
2026-02-14 22:55:36 -05:00
Justin Linn
71944f404a
chore: add GitHub config alignment (G01, G02, G03) (#2)
* chore: add alignment standards for github config

- Add .nvmrc file with Node.js 22
- Add PR template for consistent pull requests
- Add issue templates for bug reports, feature requests, and tasks
- Add standard labels via gh CLI (type, priority, status, area labels)

* fix: resolve form-data security vulnerability

Add pnpm override to force form-data>=4.0.4 which fixes
GHSA-fjxv-7rqg-78g4 (unsafe random function for boundary).

* chore: add .claude/settings.local.json to gitignore

* feat: Add claude commands

* fix: update pnpm version to 10.27.0 (valid release)

* fix: update pnpm version from 9 to 10 in all workflows

Update all workflow files to use pnpm version 10 to match
the packageManager field in package.json (pnpm@10.27.0).

This fixes the CI failure caused by version mismatch:
- pr-check.yml: version 9 → 10, matrix 9.15.5 → 10.27.0
- build-and-test.yml: version 9 → 10
- security.yml: version 9 → 10
- test.yaml: all version references updated to 10.27.0

* fix: remove packageManager field to allow testing multiple pnpm versions

The action tests multiple pnpm versions (9.x and 10.x). Having a
packageManager field in package.json causes version mismatch errors
when the workflow specifies a different version than packageManager.

* fix: use exact pnpm version 10.27.0 in workflows

The action validates that the version specified in workflows must
match the packageManager field in package.json exactly. Update
from version: 10 to version: 10.27.0 to match pnpm@10.27.0.

* fix: use local action in ci.yml with explicit version

Since packageManager was removed from package.json to allow testing
multiple pnpm versions, ci.yml must now specify the version explicitly.

Changed from using released @v4.0.0 to using ./ (local action) to test
the current code.

* fix: rename claude commands to use Windows-compatible filenames

Windows doesn't allow colons in filenames. Changed from using colons
(agents:action.md) to hyphens (agents-action.md) for cross-platform
compatibility.
2026-01-03 20:22:20 -05: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
silverwind
3a0024f066
Remove unused @types/node-fetch dependency (#186) 2025-12-05 16:50:59 +01:00
Justin Linn
83fe742b19
feat(ci): Add suncoast-innovation-guild/action-setup ci (#1)
* feat(ci): Add suncoast-innovation-guild/action-setup ci

* feat(ci): Add PR ci checks

* fix(ci): Fix CI checks

* fix(ci): Fix CI checks, node 16

* fix(ci): Fix CI checks, pnpm 10
2025-06-21 19:57:45 -04:00
Sukka
ce859e384f
refactor: replace fs-extra with Node.js built-in fs methods (#120) 2024-04-16 11:26:31 +02:00
Erik Burton
1ee9c9d01d
feat!: node20 upgrade (#110)
* upgrade versions to latest

* remove usage of ts-schema-autogen

* fix: update pnpm sources

* update build/output

* use node20

* fix: run-install array output

* fix: maintain behaviour for parseRunInstall, error messages

* fix: another edge case for input.args

* fix: use zod for input validation

* fix: use zod.infer for exported RunInstall types

* fix: remove @types/js-yaml

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-02-08 11:22:15 +01: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
Zoltan Kochan
21e88da200
fix(deps): update 2022-10-15 21:12:13 +03:00
Sébastien Vanvelthem
d01953a678
Update action/core to 1.10.0 to fix deprecation warnings (#59)
* chore: update action/core to 1.10.0

* chore(lock): freshen
2022-10-15 20:57:21 +03:00
Zoltan Kochan
958500fcab
fix: do not download pnpm from get.pnpm.io (#46)
* fix: do not download pnpm from get.pnpm.io

* fix: remove redundant files
2022-05-28 16:54:43 +03:00
Jack Works
1d51e20937 feat: try support packageManager 2022-02-22 12:26:05 +08:00
Zoltan Kochan
d8ea532ac4
fix: retry fetch of pnpm script
close #22
2022-02-20 21:49:26 +02:00
Zoltan Kochan
6ff6e97bc6
The pnpm home directory should be added to PATH and PNPM_HOME
This change is needed to make the action compatible with pnpm v7.

Related breaking change in pnpm: pnpm/pnpm#4280
2022-02-07 23:15:44 +02:00
khai96_
aefcd1e623 Use pnpm.js to install pnpm 2021-03-23 12:42:43 +07:00
khai96_
2a105263a5 Update dependencies 2021-03-23 11:43:36 +07:00
khai96_
d6790970e0 Update dependencies 2020-10-05 21:44:44 +07:00
khai96_
e373fffa0a Use ajv to validate schema 2020-05-09 19:45:31 +07:00
khai96_
bb24f595c2 Add schema generator 2020-05-09 19:24:07 +07:00
khai96_
d44b8c5e53 Add run_install input 2020-05-09 19:13:46 +07:00
khai96_
9979c3d928 Use node-fetch 2020-05-08 21:34:25 +07:00
khai96_
59a67d7671 Support tilde 2020-05-08 14:24:25 +07:00
khai96_
905bfaca2c Install @actions/glob 2020-05-08 14:01:09 +07:00
khai96_
2cdf59c2a3 No source map register 2020-05-08 13:36:16 +07:00
khai96_
cc0d51290c Switch back to package.json 2020-05-08 12:52:52 +07:00
khai96_
b3e67341de Create run.sh 2020-05-08 12:05:45 +07:00
khai96_
edb17ae08b Make sure to clean up dist 2020-05-08 11:59:05 +07:00
khai96_
29bf1b752a Create start script 2020-05-08 11:56:50 +07:00
khai96_
b5a5e98c9e Add ncc build step 2020-05-08 10:26:35 +07:00
khai96_
636254ab6e Add TypeScript build step 2020-05-08 10:22:09 +07:00
khai96_
4b39693231 Install typescript 2020-05-08 10:19:47 +07:00
khai96_
eedc32f380 Install @types/download 2020-05-08 10:07:10 +07:00
khai96_
00fe3cde8e Begin 2020-05-08 09:58:03 +07:00