Skip to content

fix: remove NPM_RELEASE_ENABLED gate from release workflow - #46

Merged
bhouston merged 2 commits into
mainfrom
fix/release-gate-var-cleanup
Sep 18, 2026
Merged

bhouston merged 2 commits into
mainfrom
fix/release-gate-var-cleanup

Conversation

@bhouston

Copy link
Copy Markdown
Owner

Closes #45

Result

npm trusted publishing is configured for all three packages, so the NPM_RELEASE_ENABLED repository-variable gate on the release job is removed. The workflow still only runs via a manual workflow_dispatch against main (unchanged), so publishing still requires an explicit maintainer action — it just no longer needs an extra variable toggled first.

Changes

  • .github/workflows/release.yml: drop the if: vars.NPM_RELEASE_ENABLED == 'true' condition and its comment on the release job.
  • RELEASING.md: remove the instruction to set NPM_RELEASE_ENABLED; note that trusted publishing is already configured.

Validation

  • pnpm install (husky/lint-staged ran on commit, staged files formatted with oxfmt).
  • pnpm -r tsc passed on commit via the pre-commit hook.
  • Manually diffed release.yml against RELEASING.md to confirm no other references to NPM_RELEASE_ENABLED remain (grep -rn NPM_RELEASE_ENABLED . returns nothing outside git history).

Trusted publishing is configured for all three npm packages and the
release workflow already requires a manual workflow_dispatch on main,
so the repository-variable gate is redundant. Remove it and update
RELEASING.md accordingly.
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@bhouston
bhouston merged commit 42774b6 into main Sep 18, 2026
2 checks passed
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.

chore: remove NPM_RELEASE_ENABLED gate now that trusted publishing is active

2 participants