sh1pt: install Node pnpm CI (node-pnpm-ci@1.0.0)#396
Conversation
vu1nz Security Review0 finding(s) in PR #? No security issues found. |
Greptile SummaryThis PR introduces a new GitHub Actions CI workflow generated by the sh1pt Actions Fleet, running type-check and tests on every push to
Confidence Score: 5/5Safe to merge — the workflow adds useful CI coverage without touching any application code. Only a single YAML file is added. It uses pinned, well-known actions, applies least-privilege permissions, and correctly references existing package.json scripts. The omitted lint and build steps are gaps in coverage rather than anything that would break the repository. No files require special attention beyond the suggestions on .github/workflows/ci.yml. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Push or PR event] --> B[checkout v4]
B --> C[pnpm setup v4 pnpm-9]
C --> D[setup-node v4 Node-22]
D --> E[pnpm install frozen-lockfile]
E --> F[pnpm type-check]
F --> G[pnpm test]
G --> H[Job passes]
Reviews (2): Last reviewed commit: "fix(ci): use correct script name pnpm ty..." | Re-trigger Greptile |
|
|
||
| - run: pnpm typecheck | ||
|
|
||
| - run: pnpm test |
There was a problem hiding this comment.
The
test script is defined as vitest (watch mode). While GitHub Actions sets CI=true and vitest will honour that by running once, the explicit test:run script (vitest run) is more reliable and removes any ambiguity about whether the suite hangs waiting for input.
| - run: pnpm test | |
| - run: pnpm test:run |
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
sh1pt Actions Fleet: install Node pnpm CI
Installs Node pnpm CI (
node-pnpm-ci@1.0.0) from the sh1pt Actions Store.Files
.github/workflows/ci.yml— createRequired secrets
No new secrets required.
Notes
Generated by sh1pt Actions Fleet.