Skip to content

Commit

Permalink
Merge pull request #884 from statisticsnorway/only-create-release-whe…
Browse files Browse the repository at this point in the history
…n-publishing--new-npm

added check for actual npm release for tagging master branch
  • Loading branch information
annesiri authored Oct 27, 2023
2 parents 4b6545f + 9d8d76e commit a13fa64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
with:
token: ${{ secrets.NPM_TOKEN }}
dry-run: false
- run: gh release create ${{ steps.publishNpm.outputs.version }} --generate-notes
- if: ${{ steps.publishNpm.outputs.type }}
run: gh release create ${{ steps.publishNpm.outputs.version }} --generate-notes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a13fa64

Please sign in to comment.