Skip to content

Update publish workflow actions and enable npm provenance - #314

Merged
keichi merged 1 commit into
masterfrom
ci-update-publish-workflow
Oct 18, 2026
Merged

keichi merged 1 commit into
masterfrom
ci-update-publish-workflow

Conversation

@keichi

@keichi keichi commented Oct 18, 2026

Copy link
Copy Markdown
Owner
  • Bump actions/checkout v2 -> v4 and actions/setup-node v1 -> v4 (old versions run on deprecated Node runtimes).
  • Add permissions: contents: read, id-token: write to the publish job and publish with npm publish --provenance --access public (--access public is a no-op for this unscoped package).
  • Fix the stale header comment (said GitHub Packages; the workflow publishes to npm).

Note: other workflows also use outdated action versions (browser.yml: checkout@v2, setup-node@v3; nodejs.yml: checkout@v3, setup-node@v3; codeql.yml: checkout@v3, codeql-action@v2). Left out of this PR to keep it scoped; can follow up separately.

@keichi
keichi merged commit 3c6a5f3 into master Oct 18, 2026
8 checks passed
@keichi
keichi deleted the ci-update-publish-workflow branch October 18, 2026 14:04
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