Skip to content

Commit

Permalink
ci: change command to create .npmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
felipefialho committed Nov 22, 2023
1 parent 83c7a2c commit 5e317f6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ jobs:

- name: Create .npmrc
run: |
echo "@juntossomosmais:registry=https://npm.pkg.github.com" >> .npmrc
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
echo "//npm.pkg.github.com/:_authToken=$NODE_AUTH_TOKEN
@juntossomosmais:registry=https://npm.pkg.github.com" > ~/.npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Cache node modules
id: cache-npm
Expand Down

0 comments on commit 5e317f6

Please sign in to comment.