Skip to content

Commit

Permalink
use npm token
Browse files Browse the repository at this point in the history
  • Loading branch information
Geovanni Pacheco committed Jan 31, 2024
1 parent 546e360 commit 8a9a446
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ jobs:
uses: actions/checkout@v2

- name: Install dependencies
run: yarn
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > .npmrc
yarn
- name: Validate
run: yarn validate
Expand Down

0 comments on commit 8a9a446

Please sign in to comment.