Skip to content

Commit

Permalink
change npmrc path in yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter-Lazarov committed Feb 20, 2025
1 parent ea85c72 commit 5336938
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: Publish
on:
push:
Expand All @@ -19,8 +18,8 @@ jobs:
- run: npm install
- run: npm run build
- run: |
echo @Peter-Lazarov:https://npm.pkg.github.com/ > build/.npmrc
echo '//npm.pkg.github.com/:_authToken=${NPM_TOKEN}' >> build/.npmrc
echo "@Peter-Lazarov:registry=https://npm.pkg.github.com" > ~/.npmrc
echo "//npm.pkg.github.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run: npm publish
working-directory: ./build
env:
Expand Down

0 comments on commit 5336938

Please sign in to comment.