From c4594e009f1be75e3b037e7c34faf23263bacbb6 Mon Sep 17 00:00:00 2001 From: Julio Lacerda Date: Sat, 3 Apr 2021 21:14:35 +0200 Subject: [PATCH] Update NPM_TOKEN secret --- .github/workflows/npm-publish.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 861e372..56f138f 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -15,8 +15,8 @@ jobs: - uses: actions/setup-node@v1 with: node-version: 12 - - run: npm ci - - run: npm test + - run: npm ci --ignore-scripts + - run: npm test --ignore-scripts publish-npm: needs: build @@ -27,10 +27,10 @@ jobs: with: node-version: 12 registry-url: https://registry.npmjs.org/ - - run: npm ci - - run: npm publish + - run: npm ci --ignore-scripts + - run: npm publish --ignore-scripts env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} publish-gpr: needs: build @@ -41,7 +41,7 @@ jobs: with: node-version: 12 registry-url: https://npm.pkg.github.com/ - - run: npm ci - - run: npm publish + - run: npm ci --ignore-scripts + - run: npm publish --ignore-scripts env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}