Skip to content

Commit

Permalink
Merge pull request #113 from morganstanley/Roaders-patch-1
Browse files Browse the repository at this point in the history
Update create-release.yaml
  • Loading branch information
Roaders authored Jan 30, 2025
2 parents 5429ee7 + 2068990 commit b3cf98c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ jobs:
if: github.repository == 'morganstanley/needle'
uses: justincy/github-action-npm-release@f6afd60cbb595a76ecae037ad006671636d321f5 # 2.0.2
id: release
with:
token: ${{ secrets.RELEASE_TOKEN }}

- name: Print release output
if: ${{ steps.release.outputs.released == 'true' }}
run: echo Release ID ${{ steps.release.outputs.release_id }}

- name: Publish
if: steps.release.outputs.released == 'true'
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
with:
token: ${{ secrets.NPM_TOKEN }}
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit b3cf98c

Please sign in to comment.