Skip to content

Commit dc7cc72

Browse files
release: authenticate npm publish with NPM_TOKEN secret (#168)
Co-authored-by: Kirill Korikov <11762090+yourconscience@users.noreply.github.com>
1 parent 08d1b3f commit dc7cc72

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
- name: Publish
5050
env:
5151
NPM_CONFIG_PROVENANCE: true
52+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5253
run: |
5354
version="${GITHUB_REF_NAME#v}"
5455
if npm view "@your_conscience/dotagents@$version" version >/dev/null 2>&1; then

0 commit comments

Comments
 (0)