Skip to content

Commit 00a472d

Browse files
author
issayah
committed
ci: fix the damn ci
1 parent d5b7f36 commit 00a472d

File tree

3 files changed

+3
-17
lines changed

3 files changed

+3
-17
lines changed

.github/workflows/npm-publish.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
uses: actions/setup-node@v3
2727
with:
2828
node-version: 16
29+
registry-url: 'https://registry.npmjs.org'
2930

3031
- name: Install pnpm
3132
uses: pnpm/[email protected]
@@ -53,11 +54,6 @@ jobs:
5354

5455
- name: Build library
5556
run: pnpm run build
56-
57-
- name: Set publishing config
58-
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
59-
env:
60-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
6157

6258
- name: Publish
6359
run: pnpm publish --tag latest --filter bootstrap-vue-3 --access=public

.github/workflows/release-dev.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
uses: actions/setup-node@v3
4242
with:
4343
node-version: 16
44+
registry-url: 'https://registry.npmjs.org'
4445
if: ${{ steps.release.outputs.releases_created }}
4546

4647
- name: Install pnpm
@@ -75,12 +76,6 @@ jobs:
7576
run: pnpm run build
7677
if: ${{ steps.release.outputs.releases_created }}
7778

78-
- name: Set publishing config
79-
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
80-
env:
81-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
82-
if: ${{ steps.release.outputs.releases_created }}
83-
8479
- name: Publish
8580
run: pnpm publish --tag develop --filter bootstrap-vue-3 --access=public
8681
if: ${{ steps.release.outputs.releases_created }}

.github/workflows/release-main.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
uses: actions/setup-node@v3
4242
with:
4343
node-version: 16
44+
registry-url: 'https://registry.npmjs.org'
4445
if: ${{ steps.release.outputs.releases_created }}
4546

4647
- name: Install pnpm
@@ -75,12 +76,6 @@ jobs:
7576
run: pnpm run build
7677
if: ${{ steps.release.outputs.releases_created }}
7778

78-
- name: Set publishing config
79-
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
80-
env:
81-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
82-
if: ${{ steps.release.outputs.releases_created }}
83-
8479
- name: Publish
8580
run: pnpm publish --tag latest --filter bootstrap-vue-3 --access=public
8681
if: ${{ steps.release.outputs.releases_created }}

0 commit comments

Comments
 (0)