File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments