Skip to content

Commit

Permalink
Add NPM_TOKEN to publish-release workflow call (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz authored Nov 17, 2022
1 parent d1586a7 commit 56b7fd5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,5 @@ jobs:
permissions:
contents: write
uses: ./.github/workflows/publish-release.yml
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 3 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Publish Release

on:
workflow_call:
secrets:
NPM_TOKEN:
required: true

jobs:
publish-release:
Expand Down

0 comments on commit 56b7fd5

Please sign in to comment.