Skip to content

Commit da4522d

Browse files
committed
CI: git checkout master
1 parent e9893b5 commit da4522d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
- name: Setup Node.js
2323
uses: actions/setup-node@v4
2424
with:
25+
registry-url: 'https://registry.npmjs.org' # to create .npmrc file with NODE_AUTH_TOKEN
2526
node-version: 18
2627
- name: Install Dependencies
2728
run: yarn install
@@ -36,6 +37,7 @@ jobs:
3637
- name: Publish next snapshot
3738
if: steps.changesets.outputs.published != 'true'
3839
run: |
40+
git checkout master
3941
yarn changeset version --snapshot next
4042
yarn changeset publish --no-git-tag --snapshot --tag next
4143
env:

0 commit comments

Comments
 (0)