Skip to content

Conversation

@PreciousOritsedere
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings January 23, 2026 16:40
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

This PR updates the GitHub Actions publish workflow to use npm's built-in OIDC authentication instead of token-based authentication, and corrects the repository URL casing in package.json.

Changes:

  • Migrated npm publishing from JS-DevTools/npm-publish action to native npm publish with OIDC authentication
  • Moved permissions from workflow level to job level with appropriate scopes for OIDC
  • Updated repository URL to use correct SolidOS organization casing

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
package.json Updated repository URL to use correct "SolidOS" casing
.github/workflows/ci.yml Migrated to OIDC-based npm publishing with native npm commands and job-level permissions

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

with:
token: ${{ secrets.NPM_TOKEN }}
tag: ${{ env.GITHUB_REF_SLUG }}
run: npm publish --tag ${{ env.GITHUB_REF_SLUG }}
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

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

Missing NODE_AUTH_TOKEN environment variable required for npm authentication. Add env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} or configure npm to use the registry-url set in actions/setup-node.

Copilot uses AI. Check for mistakes.
with:
token: ${{ secrets.NPM_TOKEN }}
tag: latest
run: npm publish --tag latest
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

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

Missing NODE_AUTH_TOKEN environment variable required for npm authentication. Add env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} or configure npm to use the registry-url set in actions/setup-node.

Suggested change
run: npm publish --tag latest
run: npm publish --tag latest
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Copilot uses AI. Check for mistakes.
@bourgeoa bourgeoa merged commit f927d9a into main Jan 23, 2026
5 checks passed
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