Skip to content

Commit e03d6c1

Browse files
committed
fix: continuous deployment to npm
1 parent f1d72f5 commit e03d6c1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/cd-npm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
ref:
77
required: true
88
type: string
9+
secrets:
10+
NPM_TOKEN:
11+
required: true
912

1013
jobs:
1114
build-and-deploy:

.github/workflows/release-please.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ jobs:
2626
needs: release-please
2727
with:
2828
ref: ${{ needs.release-please.outputs.ref }}
29+
secrets:
30+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2931
if: ${{ needs.release-please.outputs.released }}

0 commit comments

Comments
 (0)