Skip to content

Conversation

@dajimenezriv-internxt
Copy link

No description provided.

@dajimenezriv-internxt dajimenezriv-internxt self-assigned this Jul 9, 2025
node-version: '20.x'

- run: |
echo "@internxt:registry=https://npm.pkg.github.com/" > .npmrc
Copy link
Member

Choose a reason for hiding this comment

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

Point the repo to npmjs, not to the npm repository of GitHub


- run: |
echo "@internxt:registry=https://npm.pkg.github.com/" > .npmrc
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
Copy link
Member

Choose a reason for hiding this comment

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

In consequence, the GITHUB_TOKEN env will not do the job, as it only works with the GitHub API and only if it has the required permissions.

This should be the new line

Copy link
Member

Choose a reason for hiding this comment

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

I have already set the value of the NPM_TOKEN for you, so it should work now

@sg-gs sg-gs added the enhancement New feature or request label Jul 9, 2025
@dajimenezriv-internxt dajimenezriv-internxt merged commit df27630 into master Jul 9, 2025
0 of 5 checks passed
@dajimenezriv-internxt dajimenezriv-internxt deleted the publish-on-npm branch July 9, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants