Skip to content

Commit

Permalink
fix: Explicit registry required
Browse files Browse the repository at this point in the history
  • Loading branch information
clockworkgr committed Jan 30, 2024
1 parent 6a744d2 commit 51ae599
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/major-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}}
3 changes: 2 additions & 1 deletion .github/workflows/minor-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 51ae599

Please sign in to comment.