Skip to content

Commit e48fb25

Browse files
authored
Add NPM_TOKEN to publish-release workflow call (#259)
1 parent 2e9c268 commit e48fb25

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/lint-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,5 @@ jobs:
117117
permissions:
118118
contents: write
119119
uses: ./.github/workflows/publish-release.yml
120+
secrets:
121+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/publish-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Publish Release
22

33
on:
44
workflow_call:
5+
secrets:
6+
NPM_TOKEN:
7+
required: true
58

69
jobs:
710
publish-release:

0 commit comments

Comments
 (0)