diff --git a/.github/shared/ghpr/publish/action.yml b/.github/shared/ghpr/publish/action.yml index d0ee192..c17b354 100644 --- a/.github/shared/ghpr/publish/action.yml +++ b/.github/shared/ghpr/publish/action.yml @@ -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 diff --git a/.github/shared/npm/publish/action.yml b/.github/shared/npm/publish/action.yml index ddeac8f..22b2fe3 100644 --- a/.github/shared/npm/publish/action.yml +++ b/.github/shared/npm/publish/action.yml @@ -21,4 +21,5 @@ runs: run: npm publish env: NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }} + NPM_AUTH_TOKEN: ${{ env.NPM_TOKEN }} shell: bash diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 620fc7c..a4cb102 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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