We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd40ab6 commit e461257Copy full SHA for e461257
.github/workflows/release.yml
@@ -22,6 +22,7 @@ jobs:
22
- name: Setup Node.js
23
uses: actions/setup-node@v4
24
with:
25
+ registry-url: 'https://registry.npmjs.org' # to create .npmrc file with NODE_AUTH_TOKEN
26
node-version: 18
27
- name: Install Dependencies
28
run: yarn install
@@ -33,3 +34,11 @@ jobs:
33
34
env:
35
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36
NPM_TOKEN: ${{ secrets.SHARED_BOT_NPM_TOKEN }}
37
+ - name: Publish next snapshot
38
+ if: steps.changesets.outputs.published != 'true'
39
+ run: |
40
+ yarn changeset version --snapshot next
41
+ yarn changeset publish --no-git-tag --snapshot --tag next
42
+ env:
43
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44
+ NODE_AUTH_TOKEN: ${{ secrets.SHARED_BOT_NPM_TOKEN }}
.github/workflows/snapshot-release.yml
0 commit comments