Skip to content

ci: add automated npm publishing workflow#4

Merged
paraphilic-ecchymosis merged 1 commit intomainfrom
claude/add-npm-publish-cSAWb
Jan 20, 2026
Merged

ci: add automated npm publishing workflow#4
paraphilic-ecchymosis merged 1 commit intomainfrom
claude/add-npm-publish-cSAWb

Conversation

@paraphilic-ecchymosis
Copy link
Copy Markdown
Contributor

@paraphilic-ecchymosis paraphilic-ecchymosis commented Jan 20, 2026

Summary

  • Adds GitHub Actions workflow for automated npm publishing
  • Triggers automatically when releases are published
  • Supports manual dispatch with dry-run option for testing
  • Uses npm provenance for supply chain security

Setup Required

Add NPM_TOKEN secret to repository settings:

  1. Generate token at https://www.npmjs.com/settings/tokens
  2. Use "Automation" token type for CI/CD
  3. Add to repo Settings → Secrets → Actions

Test plan

  • Verify workflow file syntax is valid
  • Add NPM_TOKEN secret to repository
  • Test with manual workflow_dispatch (dry_run: true)
  • Publish next release to trigger automated publish

Triggers on release publish events and supports manual workflow_dispatch
with dry-run option. Uses npm provenance for supply chain security.

Requires NPM_TOKEN secret to be configured in repository settings.
@paraphilic-ecchymosis paraphilic-ecchymosis merged commit e9d80ed into main Jan 20, 2026
1 check passed
@paraphilic-ecchymosis paraphilic-ecchymosis deleted the claude/add-npm-publish-cSAWb branch January 20, 2026 04:27
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