feat: CI workflow enhancements and runScope step filtering #601
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
| # THIS FILE IS AUTO-GENERATED by vibe-validate generate-workflow | |
| # DO NOT EDIT MANUALLY - Edit vibe-validate.config.yaml instead | |
| # Regenerate with: npx vibe-validate generate-workflow | |
| # | |
| # Source of truth: vibe-validate.config.yaml | |
| name: Validation Pipeline | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| validate: | |
| name: Run vibe-validate validation | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v2 | |
| with: | |
| version: "9" | |
| - name: Setup Node.js ${{ matrix.node }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build packages | |
| run: pnpm -r build | |
| - name: Run validation | |
| run: pnpm validate | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| node: | |
| - "22" | |
| - "24" | |
| all-validation-passed: | |
| name: All Validation Passed | |
| runs-on: ubuntu-latest | |
| needs: | |
| - validate | |
| if: always() | |
| steps: | |
| - name: Check all validation jobs | |
| run: |- | |
| if [ "${{ needs.validate.result }}" != "success" ]; then | |
| echo "❌ Some validation checks failed" | |
| exit 1 | |
| fi | |
| echo "✅ All validation checks passed!" |