From 51ae599733aeb215ebb8e0332d555a05b1976d48 Mon Sep 17 00:00:00 2001 From: "Alex M. - Clockwork" Date: Tue, 30 Jan 2024 09:41:52 +0200 Subject: [PATCH] fix: Explicit registry required --- .github/workflows/major-release.yml | 5 ++--- .github/workflows/minor-release.yml | 3 ++- .github/workflows/patch-release.yml | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/major-release.yml b/.github/workflows/major-release.yml index 96eb392..bb76732 100644 --- a/.github/workflows/major-release.yml +++ b/.github/workflows/major-release.yml @@ -17,6 +17,7 @@ jobs: with: node-version: 20 cache: 'pnpm' + registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: pnpm install - name: Configure git @@ -26,11 +27,9 @@ jobs: - name: Set version run: pnpm version major - name: Push - run: git push + run: git push && git push --tags - name: Publish run: npm publish env: - GH_TOKEN: ${{ secrets.aib_gh_token }} - GITHUB_TOKEN: ${{ secrets.aib_gh_token }} NODE_AUTH_TOKEN: ${{secrets.aib_npm_token}} diff --git a/.github/workflows/minor-release.yml b/.github/workflows/minor-release.yml index e083eed..5465237 100644 --- a/.github/workflows/minor-release.yml +++ b/.github/workflows/minor-release.yml @@ -17,6 +17,7 @@ jobs: with: node-version: 20 cache: 'pnpm' + registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: pnpm install - name: Configure git @@ -26,7 +27,7 @@ jobs: - name: Set version run: pnpm version minor - name: Push - run: git push + run: git push && git push --tags - name: Publish run: npm publish diff --git a/.github/workflows/patch-release.yml b/.github/workflows/patch-release.yml index e43da47..7b258ad 100644 --- a/.github/workflows/patch-release.yml +++ b/.github/workflows/patch-release.yml @@ -17,6 +17,7 @@ jobs: with: node-version: 20 cache: 'pnpm' + registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: pnpm install - name: Configure git @@ -26,7 +27,7 @@ jobs: - name: Set version run: pnpm version patch - name: Commit - run: git push + run: git push && git push --tags - name: Publish run: npm publish