Skip to content

Simplify npm publish step in workflow#148

Merged
gracepark merged 1 commit intomainfrom
gp/update-oidc-token-setup-publish
Mar 16, 2026
Merged

Simplify npm publish step in workflow#148
gracepark merged 1 commit intomainfrom
gp/update-oidc-token-setup-publish

Conversation

@gracepark
Copy link
Contributor

Removed npm whoami step and simplified publish command.

Removed npm whoami step and simplified publish command.
@gracepark gracepark self-assigned this Mar 16, 2026
@gracepark gracepark requested a review from a team as a code owner March 16, 2026 17:03
Copilot AI review requested due to automatic review settings March 16, 2026 17:03
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the GitHub Actions release workflow to simplify the npm publish step for this package.

Changes:

  • Removes the npm whoami pre-check and the --ignore-scripts flag from publishing.
  • Switches publishing to npm publish --provenance without passing an npm auth token via environment variables.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- run: npm whoami; npm --ignore-scripts publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- run: npm publish --provenance
- run: npm whoami; npm --ignore-scripts publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- run: npm publish --provenance
@gracepark gracepark merged commit 3c70f99 into main Mar 16, 2026
9 checks passed
@gracepark gracepark deleted the gp/update-oidc-token-setup-publish branch March 16, 2026 17:05
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.

3 participants