Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,4 @@ jobs:
registry-url: "https://registry.npmjs.org"
- run: npm install
- run: npm run release
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
- run: npm publish --access public
Copy link

Copilot AI Nov 1, 2025

Choose a reason for hiding this comment

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

The NODE_AUTH_TOKEN environment variable has been removed, but npm publish requires authentication. Without this token, the publish step will fail unless the token is configured elsewhere in the workflow. Verify that setup-node with registry-url automatically provides authentication, or restore the env block with NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}.

Suggested change
- run: npm publish --access public
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}

Copilot uses AI. Check for mistakes.
Loading