Skip to content

Commit c357cd8

Browse files
committed
chore: update CI workflow dependencies to ensure proper job execution order
1 parent 17e35fe commit c357cd8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/main-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,14 @@ jobs:
6464
run: pnpm run changelog:apply
6565

6666
build:
67+
needs: [changelog-apply]
6768
uses: ./.github/workflows/reusable-build.yml
6869
with:
6970
artifact_name: ${{ vars.ARTIFACT_NAME }}
7071
artifact_path: ${{ vars.ARTIFACT_PATH }}
7172

7273
publish:
74+
needs: [build]
7375
uses: ./.github/workflows/reusable-publish.yml
7476
with:
7577
artifact_name: ${{ vars.ARTIFACT_NAME }}

.github/workflows/reusable-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ jobs:
4242
name: ${{ inputs.artifact_name }}
4343
path: ${{ inputs.artifact_path }}
4444

45-
- name: Publish
46-
run: pnpm publish --access public --no-git-checks
45+
# - name: Publish
46+
# run: pnpm publish --access public --no-git-checks

0 commit comments

Comments
 (0)