fix: restore Codex Desktop version in footer #490
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 - Quality gate | |
| on: | |
| pull_request: | |
| branches: [dev, master] | |
| push: | |
| branches: [dev, master] | |
| concurrency: | |
| group: ci-quality-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| package-boundary: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run package/update boundary guards | |
| run: npx vitest run tests/unit/ci/package-boundary.test.ts tests/unit/update-scripts-path.test.ts tests/unit/update-checker.test.ts | |
| - name: Type-check public update scripts | |
| run: npm run typecheck:scripts | |
| backend-tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install web dependencies | |
| run: cd web && npm ci | |
| - name: Build web assets | |
| run: npm run build:web | |
| # build.test.ts spins up the bundled server.mjs in a native Node | |
| # subprocess, which requires the codex-tls native addon for the current | |
| # platform (resolved from native/ via binDir/../native). Commit-shipped | |
| # .node binaries only cover win32/darwin, so build linux here. | |
| - name: Setup Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache Rust build | |
| uses: actions/cache@v4 | |
| with: | |
| path: native/target | |
| key: native-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('native/Cargo.lock') }} | |
| restore-keys: native-${{ runner.os }}-${{ runner.arch }}- | |
| - name: Install native addon dependencies | |
| working-directory: native | |
| run: npm ci | |
| - name: Build native addon | |
| working-directory: native | |
| run: npm run build | |
| - name: Run root vitest test suite | |
| run: npm test | |
| frontend-tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| # web/ is an independent package (not a root workspace) with its own | |
| # vitest; its component tests run under jsdom and are not picked up by the | |
| # root vitest config. | |
| - name: Install web dependencies | |
| run: cd web && npm ci | |
| - name: Run web frontend tests | |
| run: cd web && npx vitest run |