Skip to content

chore(ci): publish to npm with trusted publishing - #173

Merged
bpapillon merged 1 commit into
mainfrom
bpapillon/npm-trusted-publishing
Sep 5, 2026
Merged

chore(ci): publish to npm with trusted publishing#173
bpapillon merged 1 commit into
mainfrom
bpapillon/npm-trusted-publishing

Conversation

@bpapillon

Copy link
Copy Markdown
Contributor

The 1.5.11 and 1.5.12 tag publishes both failed with npm E404 on the PUT. NPM_TOKEN was set on 2026-06-01, the last publish that worked was 1.5.10 on 2026-08-24, and the first failure was 2026-09-03, which matches a 90-day granular token expiring.

Switch the publish job to OIDC trusted publishing like schematic-js: id-token: write on the job, no token in the npm config. Before this merges, the package @schematichq/schematic-typescript-node needs a trusted publisher registered on npmjs.com for repo SchematicHQ/schematic-node, workflow ci.yml. The tag runs use the workflow at the tag, so 1.5.12 needs a re-tag (or 1.5.13) after this lands.

@bpapillon
bpapillon marked this pull request as ready for review September 5, 2026 07:25
@bpapillon
bpapillon requested a review from a team as a code owner September 5, 2026 07:25
@bpapillon
bpapillon merged commit 39dc17d into main Sep 5, 2026
5 checks passed
@bpapillon
bpapillon deleted the bpapillon/npm-trusted-publishing branch September 5, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants