Skip to content

Commit

Permalink
Update npm-publish-github-packages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dgmjr authored Oct 7, 2023
1 parent eb55309 commit 0903cd0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
with:
node-version: 16
- run: npm install;npm run build-ts
- run: npm install -g npm-cli-login

publish-gpr:
needs: build
Expand All @@ -40,6 +41,7 @@ jobs:
registry-url: https://npm.pkg.github.com/
token: ${{ secrets.GITHUB_TOKEN }}
scope: '@dgmjr-io'
- run: npm-cli-login -u dgmjr -p ${{ secrets.GITHUB_TOKEN }} -e [email protected] --registry https://npm.pkg.github.com/
- run: npm publish --registry=https://npm.pkg.github.com/
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -57,6 +59,7 @@ jobs:
node-version: 16
registry-url: ${{ vars.DGMJR_IO_NPM_ENDPOINT }}
token: ${{ secrets.PROGET_API_TOKEN }}
- run: npm-cli-login -u api -p ${{ secrets.PROGET_API_TOKEN }} -e [email protected] --registry ${{ vars.DGMJR_IO_NPM_ENDPOINT }}
- run: npm publish --registry=${{ vars.DGMJR_IO_NPM_ENDPOINT }}
env:
NODE_AUTH_TOKEN: ${{ secrets.PROGET_API_TOKEN }}

0 comments on commit 0903cd0

Please sign in to comment.