ci(publish): skip docs-site-build in PyPI publish preflight #148
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release Check | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - "pyproject.toml" | |
| - "MANIFEST.in" | |
| - "Makefile" | |
| - "ksadk/**" | |
| - "ksadk_runtime_common/**" | |
| - "tests/compat/**" | |
| - "tests/e2e/test_codex_plugin_bridge_e2e.py" | |
| - "tests/e2e/test_codex_provider_app_server_e2e.py" | |
| - "tests/e2e/test_dsh_managed_toolchain_e2e.py" | |
| - "tests/plugins/test_dsh_node_provider_e2e.py" | |
| - "tests/fixtures/dsh-node-agent-provider/**" | |
| - "tests/packaging/test_phase2_release_preflight.py" | |
| - "tests/studio/e2e/**" | |
| - "scripts/open_source_audit.py" | |
| - "scripts/audit_release_artifacts.py" | |
| - "scripts/phase2_release_preflight.py" | |
| - "scripts/verify_ksadk_web_static.py" | |
| - "scripts/write_build_provenance.py" | |
| - "docs/phase2-plugin-compatibility.md" | |
| - ".github/workflows/release-check.yml" | |
| jobs: | |
| artifacts: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - name: Install dependencies | |
| run: uv sync --extra all | |
| - name: Install Chromium for Phase 2 browser gates | |
| run: uv run playwright install --with-deps chromium | |
| - name: Build pinned frontend static assets | |
| env: | |
| KSADK_WEB_VERSION: "0.3.4" | |
| run: make build-frontend | |
| - name: Verify clean release source | |
| run: | | |
| test -z "$(git status --porcelain --untracked-files=all)" | |
| - name: Build one provenance-bound artifact pair | |
| run: | | |
| rm -rf dist | |
| uv run python scripts/write_build_provenance.py | |
| uv build --out-dir dist | |
| - name: Run Phase 2 release preflight | |
| run: uv run --extra all python scripts/phase2_release_preflight.py --dist-dir dist |