Skip to content

Commit

Permalink
fix: dont exit on commit failure
Browse files Browse the repository at this point in the history
  • Loading branch information
alii committed Mar 23, 2023
1 parent c041df2 commit 262c621
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,15 @@ jobs:
run: yarn changeset version

- name: Publish to npm
id: publish_npm
uses: changesets/action@v1
continue-on-error: true
with:
publish: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Commit changes
if: steps.publish_npm.outcome == 'success'
continue-on-error: true
run: |
git config --global user.email "[email protected]"
git config --global user.name "Hop CI"
Expand Down

0 comments on commit 262c621

Please sign in to comment.