Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

Commit

Permalink
workflow: Updated configure ~/.npmrc file task
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrdz committed May 28, 2022
1 parent 874f53d commit ec240ae
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ jobs:
scope: '@Max-Rodriguez'
always-auth: true

- name: Configure .npmrc file
run: echo '//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}' >> .npmrc
- name: Configure ~/.npmrc file
run: |
echo '//npm.pkg.github.com/:_authToken=$NODE_AUTH_TOKEN' > ~/.npmrc
npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit ec240ae

Please sign in to comment.