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 dd40ab6 commit e461257
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 34 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org' # to create .npmrc file with NODE_AUTH_TOKEN
node-version: 18
- name: Install Dependencies
run: yarn install
Expand All @@ -33,3 +34,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 e461257

Please sign in to comment.