Skip to content

Commit

Permalink
Merge pull request #89 from Roaders/main
Browse files Browse the repository at this point in the history
Remove failing github action step
  • Loading branch information
Roaders authored Oct 18, 2023
2 parents 7b311f1 + 421e1e1 commit 14cfc9d
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,20 @@ jobs:
- name: Install node modules and verify build
run: npm ci && npm run build-release

- name: Release
- name: Publish
if: github.repository == 'morganstanley/ts-mocking-bird'
uses: justincy/github-action-npm-[email protected]
id: release
uses: JS-DevTools/npm-publish@v2
id: publish
with:
token: ${{ secrets.RELEASE_TOKEN }}
token: ${{ secrets.NPM_TOKEN }}

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

- name: Publish
if: steps.release.outputs.released == 'true'
uses: JS-DevTools/npm-publish@v1

- uses: "marvinpinto/action-automatic-releases@latest"
if: ${{ steps.publish.outputs.type }}
with:
token: ${{ secrets.NPM_TOKEN }}
repo_token: "${{ secrets.RELEASE_TOKEN }}"
prerelease: false

0 comments on commit 14cfc9d

Please sign in to comment.