Skip to content

fix(ci): a missing publish credential is not a failure - #6

Merged
catomean merged 1 commit into
mainfrom
fix/publish-without-token
Aug 26, 2026
Merged

fix(ci): a missing publish credential is not a failure#6
catomean merged 1 commit into
mainfrom
fix/publish-without-token

Conversation

@catomean

Copy link
Copy Markdown
Collaborator

This repo has no NPM_TOKEN, so the v0.3.0 tag built, verified, produced a correct 27.7 kB tarball — and then failed on ENEEDAUTH. Left alone, every future version tag does the same, forever.

That's the expensive kind of red: an X meaning "nothing is wrong, a secret is absent". People learn to scroll past those, and the next thing they scroll past is a real one. This fleet already has that scar written down.

So an absent token now skips and says so in the job summary, including the GitHub install line that does work. Everything proving the release is real still runs first — tag/version match, lint, typecheck, build, tests. Only the push to the registry is conditional.

Add NPM_TOKEN and re-run the workflow and it publishes, with no change here.

This repo has no NPM_TOKEN, so the v0.3.0 tag built, verified, produced a
correct 27.7 kB tarball — and then failed on ENEEDAUTH. Left alone, every future
version tag does the same forever.

That is the expensive kind of red: an X that means "nothing is wrong, a secret
is absent". People learn to scroll past those, and the next thing they scroll
past is a real one. This fleet already has that scar written down.

So an absent token now SKIPS and says so in the job summary, including the
GitHub install line that does work. Everything that proves the release is real
still runs first — tag/version match, lint, typecheck, build, tests. Only the
push to the registry is conditional.

Add NPM_TOKEN and re-run the workflow and it publishes, with no change here.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@catomean
catomean merged commit d03d03f into main Aug 26, 2026
1 check passed
@catomean
catomean deleted the fix/publish-without-token branch August 26, 2026 13:07
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.

1 participant