Skip to content

Add npm publish workflow#75

Merged
beefo merged 3 commits into
masterfrom
add-npm-publish-workflow
Apr 13, 2026
Merged

Add npm publish workflow#75
beefo merged 3 commits into
masterfrom
add-npm-publish-workflow

Conversation

@beefo
Copy link
Copy Markdown
Contributor

@beefo beefo commented Apr 13, 2026

Summary

  • Adds a GitHub Actions workflow that publishes to npm when a GitHub Release is created
  • Builds, tests, and verifies the version tag matches package.json before publishing
  • Requires an NPM_TOKEN repository secret (setup instructions in the workflow file)

Test plan

  • Workflow file is valid YAML and uses correct action versions
  • Test with a pre-release after merging to verify the flow end-to-end

🤖 Generated with Claude Code

beefo and others added 3 commits April 13, 2026 16:06
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
No static token needed — npm verifies the publish came from this
repo's GitHub Actions workflow via OIDC. Also adds provenance
attestation to published packages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@beefo beefo merged commit 4da7712 into master Apr 13, 2026
3 checks passed
@beefo beefo deleted the add-npm-publish-workflow branch April 13, 2026 20:13
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