Bump @tailwindcss/vite from 4.2.2 to 4.2.4 #28
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
| # Continuous Integration Workflow | |
| # | |
| # Quality Gates: | |
| # - Production build verification | |
| # - Dependency security audit | |
| name: CI - Build & Security | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| pull_request: | |
| branches: [main, develop] | |
| push: | |
| branches: [develop] | |
| workflow_dispatch: | |
| jobs: | |
| # ============================================================================ | |
| # Build Verification | |
| # ============================================================================ | |
| build: | |
| name: Production Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v3 | |
| with: | |
| version: 10.11 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build site | |
| run: pnpm run build | |
| - name: Upload build artifacts | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: build-output | |
| path: dist/ | |
| retention-days: 7 | |
| # ============================================================================ | |
| # Security & Dependency Audit | |
| # ============================================================================ | |
| security: | |
| name: Security Audit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v3 | |
| with: | |
| version: 10.11 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Audit dependencies | |
| run: | | |
| echo "Running security audit..." | |
| pnpm audit --audit-level=moderate || { | |
| echo "Security vulnerabilities detected" | |
| echo "Review the issues above and update dependencies as needed" | |
| exit 1 | |
| } | |
| # ============================================================================ | |
| # Status Summary | |
| # ============================================================================ | |
| ci-success: | |
| name: CI Status Check | |
| runs-on: ubuntu-latest | |
| needs: [build, security] | |
| if: always() | |
| steps: | |
| - name: Check all jobs succeeded | |
| run: | | |
| if [[ "${{ needs.build.result }}" != "success" ]] || \ | |
| [[ "${{ needs.security.result }}" != "success" ]]; then | |
| echo "One or more CI checks failed" | |
| echo "" | |
| echo "Job Status:" | |
| echo " - Build: ${{ needs.build.result }}" | |
| echo " - Security: ${{ needs.security.result }}" | |
| exit 1 | |
| fi | |
| echo "All CI checks passed" |