Skip to content

ci: skip npm publish when token is missing#24

Merged
papperrollinggery merged 1 commit into
mainfrom
codex/release-skip-missing-npm-token
May 20, 2026
Merged

ci: skip npm publish when token is missing#24
papperrollinggery merged 1 commit into
mainfrom
codex/release-skip-missing-npm-token

Conversation

@papperrollinggery
Copy link
Copy Markdown
Owner

Summary

  • Prevent Release workflow failures when prerelease tags are pushed before NPM_TOKEN is configured.
  • Publish step now emits a notice and exits 0 if NODE_AUTH_TOKEN is empty.

Cause

  • v2.0.0-beta.1 tag triggered Release.
  • Release attempted npm publish with empty NODE_AUTH_TOKEN.
  • npm failed with ENEEDAUTH.

Verification

  • npm run audit:public
  • git diff --check
  • commit hook: npm run build, npm test, npm run lint

@papperrollinggery papperrollinggery merged commit 6a82cd7 into main May 20, 2026
7 checks passed
@papperrollinggery papperrollinggery deleted the codex/release-skip-missing-npm-token branch May 20, 2026 16:02
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