Skip to content

Commit 3bdc121

Browse files
Run the release script in a separate step
1 parent ef50351 commit 3bdc121

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,19 @@ jobs:
9999
with:
100100
node-version: 24.12.0
101101
- name: Create Release Pull Request
102+
id: changesets
102103
uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba # v1
103104
with:
104105
version: pnpm changeset-manifests
105106
title: Version Packages - ${{ github.ref_name }}
106-
publish: pnpm release latest
107+
createGithubReleases: false
108+
env:
109+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
110+
111+
- name: Publish packages
112+
if: steps.changesets.outputs.hasChangesets == 'false'
113+
run: pnpm release latest
107114
env:
108-
NODE_AUTH_TOKEN: ''
109115
NPM_TOKEN: ''
110116
NPM_CONFIG_PROVENANCE: true
111117
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -134,6 +140,5 @@ jobs:
134140
env:
135141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
136142
NPM_TOKEN: ''
137-
NODE_AUTH_TOKEN: ''
138143
NPM_CONFIG_PROVENANCE: true
139144
SHOPIFY_CLI_BUILD_REPO: ${{ github.repository }}

0 commit comments

Comments
 (0)