From 565880be523bb297b5d159e3148427a70752c1e6 Mon Sep 17 00:00:00 2001 From: ctapang Date: Tue, 5 Dec 2023 16:55:08 -0800 Subject: [PATCH] Try the github npm registry --- .github/workflows/node.js.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index fd98d8e..3007d60 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -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