Skip to content

Commit

Permalink
trying different env names
Browse files Browse the repository at this point in the history
  • Loading branch information
jabez007 committed Oct 29, 2024
1 parent 5f41f08 commit 366f1a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/shared/ghpr/publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ runs:
run: npm publish --registry=https://npm.pkg.github.com
env:
NODE_AUTH_TOKEN: ${{ env.GHPR_TOKEN }}
NPM_AUTH_TOKEN: ${{ env.GHPR_TOKEN }}
shell: bash
1 change: 1 addition & 0 deletions .github/shared/npm/publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ runs:
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
NPM_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Shared Publish to NPM
- name: Shared Publish to GHPR
uses: jabez007/create-typescript-template/.github/shared/ghpr/publish@master
with:
node_version: 22.x
Expand Down

0 comments on commit 366f1a5

Please sign in to comment.