diff --git a/.github/workflows/master.yaml b/.github/workflows/master.yaml index 6ca5ace..84e7e96 100644 --- a/.github/workflows/master.yaml +++ b/.github/workflows/master.yaml @@ -19,6 +19,7 @@ jobs: with: node-version: 20 cache: 'npm' + registry-url: https://npm.pkg.github.com - name: Install dependencies run: npm ci - name: Test @@ -29,4 +30,4 @@ jobs: run: npx semantic-release env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - NPM_TOKEN: ${{secrets.NPM_TOKEN}} + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/publish-ghpr.yaml b/.github/workflows/publish-ghpr.yaml index ce08919..976b411 100644 --- a/.github/workflows/publish-ghpr.yaml +++ b/.github/workflows/publish-ghpr.yaml @@ -21,11 +21,11 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event.inputs.release }} - registry-url: https://npm.pkg.github.com - uses: actions/setup-node@v4 with: node-version: 20 cache: 'npm' + registry-url: https://npm.pkg.github.com - name: Set version run: npm version ${{ github.event.inputs.release }} --allow-same-version --git-tag-version=false - name: Install dependencies