Skip to content

Commit d965129

Browse files
committed
fix: testing release flow
1 parent 35f1d65 commit d965129

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release-create-next-app-with-gluestack-ui.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,19 @@ jobs:
2222
run: yarn
2323
- name: Install dependencies (prevent updates to lock file)
2424
run: yarn
25+
- name: Log in to npm
26+
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
2527
- name: Publish to npm
26-
# id: changesets
27-
# uses: changesets/action@v1
28+
id: changesets
29+
uses: changesets/action@v1
2830
with:
29-
publish: yarn publish --tag latest --new-version 0.1.18
31+
publish: yarn release
3032
env:
3133
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
3234
NPM_TOKEN: ${{ secrets.GLUESTACK_ADMIN_NPM_TOKEN }}
3335
- name: Post to a Slack channel
3436
id: slack
35-
# if: steps.changesets.outputs.published == 'true'
37+
if: steps.changesets.outputs.published == 'true'
3638
uses: slackapi/slack-github-action@v1.23.0
3739
with:
3840
channel-id: C05H3MUMPN3

0 commit comments

Comments
 (0)