Skip to content

Commit

Permalink
CI: merge snapshot release
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Jan 2, 2024
1 parent 335799b commit 3aba8ea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 35 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
Expand All @@ -33,3 +33,11 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.SHARED_BOT_NPM_TOKEN }}
- name: Publish next snapshot
if: steps.changesets.outputs.published != 'true'
run: |
yarn changeset version --snapshot next
yarn changeset publish --no-git-tag --snapshot --tag next
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.SHARED_BOT_NPM_TOKEN }}
34 changes: 0 additions & 34 deletions .github/workflows/snapshot-release.yml

This file was deleted.

0 comments on commit 3aba8ea

Please sign in to comment.