Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnvanhulle committed Nov 23, 2023
1 parent 6348057 commit f8ed012
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Publish
uses: changesets/action@v1
id: publish
continue-on-error: true
if: ${{ success() && github.event.inputs.tag == '' && github.ref == 'refs/heads/beta' && (github.event_name != 'pull_request' || github.event.action == 'closed' && github.event.pull_request.merged == true) }}
Expand All @@ -71,7 +72,9 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
TAG: ${{ inputs.tag }}
run: bun run release --concurrency=1 -- -tag beta
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: bun run release --concurrency=1 -- -tag beta

- name: Publish ${{ inputs.tag || 'canary' }}
continue-on-error: true
Expand Down

0 comments on commit f8ed012

Please sign in to comment.