Skip to content

Commit

Permalink
ci: check npmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Slava-Ini committed Mar 19, 2023
1 parent fdca744 commit a749ae7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ jobs:
- run: |
echo "registry=https://registry.npmjs.org/" > "${NPM_CONFIG_USERCONFIG}"
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> "${NPM_CONFIG_USERCONFIG}"
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: pnpm install --frozen-lockfile
- run: |
echo "TOKEN: " "${NODE_AUTH_TOKEN}"
cat "${NPM_CONFIG_USERCONFIG}"
- run: pnpm build
- run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit a749ae7

Please sign in to comment.