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 68697db commit c325dec
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: tsctsc
- run: npm ci
- run: npm run build-tsc

publish-gpr:
needs: build
Expand All @@ -41,7 +40,6 @@ jobs:
registry-url: https://npm.pkg.github.com/
token: ${{ secrets.GITHUB_TOKEN }}
scope: '@dgmjr-io'
- run: npm ci
- run: npm publish --registry=https://npm.pkg.github.com/
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -57,8 +55,8 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: ${{ variables.DGMJR_IO_NPM_ENDPOINT }}
registry-url: ${{ vars.DGMJR_IO_NPM_ENDPOINT }}
token: ${{ secrets.PROGET_API_TOKEN }}
- run: npm publish --registry=${{ variables.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 c325dec

Please sign in to comment.