Skip to content

Commit c43eeb5

Browse files
committed
ci: sync web static before release gate build
1 parent a183400 commit c43eeb5

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
jobs:
1212
test:
1313
runs-on: ubuntu-latest
14+
env:
15+
PUBLIC_KSADK_WEB_VERSION: "0.2.11"
1416
steps:
1517
- uses: actions/checkout@v4
1618

@@ -25,6 +27,9 @@ jobs:
2527
- name: Install dependencies
2628
run: uv sync --extra dev
2729

30+
- name: Sync KsADK Web static assets
31+
run: make public-sync-ksadk-web-static
32+
2833
- name: Build package artifacts
2934
run: uv build
3035

tests/test_public_release_positioning.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ def test_github_public_release_gate_workflows_reference_existing_targets():
134134
]
135135
assert missing_targets == []
136136

137+
assert 'PUBLIC_KSADK_WEB_VERSION: "0.2.11"' in ci_workflow
138+
assert ci_workflow.index("- name: Sync KsADK Web static assets") < ci_workflow.index(
139+
"- name: Build package artifacts"
140+
)
137141
assert ci_workflow.index("- name: Build package artifacts") < ci_workflow.index(
138142
"- name: Run public release gate tests"
139143
)

0 commit comments

Comments
 (0)