Skip to content

Commit

Permalink
ci: set npmrc token
Browse files Browse the repository at this point in the history
Release-As: 0.0.1
  • Loading branch information
davec504 committed Mar 6, 2024
1 parent ae2f6f3 commit aa84fd2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ jobs:
restore-keys: |
${{ runner.os }}-node_modules-
- name: Configure npmrc
run: npm config set "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- run: yarn build
Expand Down

0 comments on commit aa84fd2

Please sign in to comment.