Skip to content

Commit

Permalink
Try the github npm registry
Browse files Browse the repository at this point in the history
  • Loading branch information
ctapang committed Dec 6, 2023
1 parent 4f14f05 commit 565880b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
cache: 'npm'
registry-url: 'https://registry.npmjs.org' # 'https://npm.pkg.github.com'
registry-url: 'https://npm.pkg.github.com'
# Skip post-install scripts here, as a malicious
# script could steal NODE_AUTH_TOKEN.
- run: npm ci --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# `npm rebuild` will run all those post-install scripts for us.
- run: npm rebuild && npm run prepare --if-present
- run: npm test
Expand Down

0 comments on commit 565880b

Please sign in to comment.