diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1dd85f6..4eb5f05 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,5 +22,5 @@ jobs: # `npm publish` runs prepublishOnly (lint + complexity + typecheck + test + build) first. - name: Publish to npmjs env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH }} run: npm publish --access public diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 9b467a4..2822bf2 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -22,7 +22,7 @@ jobs: # as its own gate before anything leaves the machine. - name: Publish to Verdaccio env: - NODE_AUTH_TOKEN: ${{ secrets.VERDACCIO_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH }} run: | npm config set //npm.svc.zoit.services/:_authToken "$NODE_AUTH_TOKEN" npm publish --registry https://npm.svc.zoit.services --tag stg