Skip to content

Commit 9444427

Browse files
author
issayah
committed
ci: fix the damn ci
1 parent 4a394a2 commit 9444427

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/npm-publish.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,14 @@ jobs:
5353

5454
- name: Build library
5555
run: pnpm run build
56-
if: ${{ steps.release.outputs.releases_created }}
5756

5857
- name: Test library
5958
run: pnpm test
60-
if: ${{ steps.release.outputs.releases_created }}
6159

6260
- name: Set publishing config
6361
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
6462
env:
6563
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
66-
6764

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

.github/workflows/release-dev.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@ jobs:
8080
if: ${{ steps.release.outputs.releases_created }}
8181

8282
- name: Set publishing config
83-
run: pnpm config set '//registry.npmjs.org/:_authToken' "${secrets.NPM_TOKEN}"
83+
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
84+
env:
85+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
86+
if: ${{ steps.release.outputs.releases_created }}
8487

8588
- name: Publish
8689
run: pnpm publish --tag develop --filter bootstrap-vue-3 --access=public

.github/workflows/release-main.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@ jobs:
8080
if: ${{ steps.release.outputs.releases_created }}
8181

8282
- name: Set publishing config
83-
run: pnpm config set '//registry.npmjs.org/:_authToken' "${secrets.NPM_TOKEN}"
83+
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
84+
env:
85+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
86+
if: ${{ steps.release.outputs.releases_created }}
8487

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

0 commit comments

Comments
 (0)