Commit 9ca56cd
committed
feat(ci): switch to canonical fleet pnpm CI workflow
The hand-rolled `test.yml` ran `npm i` against a package.json
that declares `@socketsecurity/lib` via the `catalog:` protocol.
npm doesn't understand `catalog:` (it's pnpm-specific syntax)
and crashed with EUNSUPPORTEDPROTOCOL on every CI run.
Three changes:
1. Add `.github/workflows/ci.yml` — the canonical fleet CI
workflow that delegates to
`SocketDev/socket-registry/.github/workflows/ci.yml@<sha>`.
That reusable workflow sets up pnpm + node correctly and
runs the fleet's standard lint/type/test pipeline. This
is the same file every fleet repo carries (managed by
wheelhouse sync-scaffolding's IDENTICAL_FILES).
2. Delete `.github/workflows/test.yml` — the hand-rolled
workflow that pre-dated the fleet pnpm policy. Its job
("run `pnpm test` on push/PR") is now done by the
canonical CI workflow.
3. Migrate `.github/workflows/provenance.yml` from
`npm install -g npm@latest && npm ci` to
`pnpm install --frozen-lockfile`. Keep `npm publish
--provenance` at the end — that's still the canonical
sigstore-attested publisher (pnpm publish forwards to it
anyway).
After this, `oxlint --config .config/oxlintrc.json` is clean
and the wheelhouse `socket/workflow_npm_install` check
(committed alongside in socket-wheelhouse@3ff8e5e) reports
0 findings on this repo.1 parent 4a7f7c3 commit 9ca56cd
3 files changed
Lines changed: 35 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | | - | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
41 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
| |||
This file was deleted.
0 commit comments