Skip to content

Commit

Permalink
ci: prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Nov 13, 2024
1 parent 8a73d4b commit 5d18ac9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,20 @@ jobs:
- name: Install dependencies
uses: ./.github/actions/install-dependencies

- name: PR or publish
uses: changesets/action@v1
with:
title: 'chore: version packages'
commit: 'chore: version packages'
createGithubReleases: ${{ github.ref == 'refs/heads/main' }}
publish: pnpm changeset:publish
version: pnpm changeset:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# - name: PR or publish
# uses: changesets/action@v1
# with:
# title: 'chore: version packages'
# commit: 'chore: version packages'
# createGithubReleases: ${{ github.ref == 'refs/heads/main' }}
# publish: pnpm changeset:publish
# version: pnpm changeset:version
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish Prerelease
if: steps.changesets.outputs.published != 'true'
# if: steps.changesets.outputs.published != 'true'
continue-on-error: true
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 5d18ac9

Please sign in to comment.