Skip to content

Commit c1a6416

Browse files
committed
fix: optimize gh-actions publish workflow
1 parent f4a8a6e commit c1a6416

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,15 @@ jobs:
121121
echo "can_publish=true" >> $GITHUB_OUTPUT
122122
echo "✓ Version $TAG_VERSION is new and can be published"
123123
124-
- name: Sync version across packages
125-
run: ./sync-version.sh "${{ steps.version.outputs.version }}"
126-
127124
- name: Disallow installation scripts
128125
run: yq '.onlyBuiltDependencies = []' -i pnpm-workspace.yaml
129126

130127
- name: Install dependencies
131128
run: pnpm install --ignore-scripts --frozen-lockfile
132129

130+
- name: Sync version across packages
131+
run: ./sync-version.sh "${{ steps.version.outputs.version }}"
132+
133133
- name: Build packages
134134
run: pnpm run build
135135
env:

0 commit comments

Comments
 (0)