fix: v0.7.1 - robust Codex detection, dynamic version, complete start… #32
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| validate-pack: | |
| name: Validate Pack (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Validate pack structure | |
| run: node ./scripts/validate-pack.mjs | |
| - name: Smoke install on Unix | |
| if: runner.os != 'Windows' | |
| run: | | |
| bash ./scripts/install-skills.sh --destination ./.tmp/skills --force | |
| test -f ./.tmp/skills/codexkit-execution-planner/SKILL.md | |
| expected="$(find ./skills -mindepth 1 -maxdepth 1 -type d | wc -l)" | |
| actual="$(find ./.tmp/skills -mindepth 1 -maxdepth 1 -type d | wc -l)" | |
| test "$actual" -eq "$expected" | |
| bash ./scripts/quick-start.sh --starter project-management-office --destination ./.tmp/pmo --force | |
| test -f ./.tmp/pmo/README.md | |
| - name: Smoke install on Windows | |
| if: runner.os == 'Windows' | |
| shell: pwsh | |
| run: | | |
| ./scripts/install-skills.ps1 -Destination .\.tmp\skills -Force | |
| if (-not (Test-Path .\.tmp\skills\codexkit-execution-planner\SKILL.md)) { throw "Missing installed skill." } | |
| $expected = (Get-ChildItem .\skills -Directory).Count | |
| $actual = (Get-ChildItem .\.tmp\skills -Directory).Count | |
| if ($actual -ne $expected) { throw "Expected $expected installed skills, got $actual." } | |
| ./scripts/quick-start.ps1 -Starter project-management-office -Destination .\.tmp\pmo -Force | |
| if (-not (Test-Path .\.tmp\pmo\README.md)) { throw "Missing scaffolded workspace." } | |
| docs: | |
| name: Docs Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| cache-dependency-path: web/package-lock.json | |
| - name: Install docs dependencies | |
| run: npm ci --prefix web | |
| - name: Lint docs app | |
| run: npm --prefix web run lint | |
| - name: Build docs app | |
| run: npm --prefix web run build |