File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -36,14 +36,17 @@ jobs:
3636 run : bun install --frozen-lockfile
3737 env :
3838 PUPPETEER_SKIP_DOWNLOAD : 1
39- - name : Create Release Pull Request or Publish to npm
39+ - name : Create Release Pull Request
4040 id : changesets
4141 uses : changesets/action@v1
4242 with :
43- publish : bun run publish-all-packages
4443 version : bun run changeset-version
4544 env :
4645 # Using a PAT instead of GITHUB_TOKEN because we need to run workflows when releases are created
4746 # https://github.com/orgs/community/discussions/26875#discussioncomment-3253761
4847 GITHUB_TOKEN : ${{ secrets.GH_PERSONAL_TOKEN }}
4948
49+ # We use a dedicated step to publish to npm because it needs the top level GITHUB_TOKEN and not the GH_PERSONAL_TOKEN one
50+ - name : Publish to NPM
51+ if : steps.changesets.outputs.hasChangesets == 'false'
52+ run : bun run publish-all-packages
You can’t perform that action at this time.
0 commit comments