Skip to content

Commit d75117f

Browse files
ci(release): use setup-node@v6 tag — the pinned SHA was an orphaned tag-object SHA (#13)
Pinning to the v6 major tag's commit SHA is fragile: v6 is a moving lightweight tag, and a new v6.x release orphaned/GC'd the commit the SHA pointed to → GitHub Actions couldn't resolve it ("unable to find version 48b55a0…", 422 on direct commit lookup). Use the moving @v6 tag directly (matches oven-sh/setup-bun@v2 precedent in .github/actions/setup); dependabot keeps it current. Trusted-publishing behavior unchanged.
1 parent 27ab6b4 commit d75117f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# npm 10.x in PATH → `npm publish` can't detect OIDC → ENEEDAUTH.
3535
# Node 24 ships npm 11.x; npm then auto-authenticates via OIDC (no token).
3636
- name: Setup Node + npm for trusted publishing
37-
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9f7362e8dae4041e # v6
37+
uses: actions/setup-node@v6
3838
with:
3939
node-version: "24"
4040
registry-url: "https://registry.npmjs.org"

0 commit comments

Comments
 (0)