feat: agent readiness evaluation and upload #562
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: Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| matrix: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| - run: corepack enable | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm test | |
| - run: pnpm build | |
| - run: node dist/index.js --version | |
| # Aggregator so the branch-protection rule (which requires a check named | |
| # `test`) has something stable to match against — without this, adding/ | |
| # removing matrix OSes would silently change required check names. | |
| test: | |
| needs: matrix | |
| if: always() | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Verify matrix succeeded | |
| run: | | |
| if [[ "${{ needs.matrix.result }}" != "success" ]]; then | |
| echo "matrix job result: ${{ needs.matrix.result }}" | |
| exit 1 | |
| fi |