Feat/new traces #5277
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: Check Frontend Build | |
| on: | |
| pull_request: | |
| types: | |
| - synchronize | |
| - opened | |
| - reopened | |
| paths: | |
| - "frontend/**" # Trigger only if files in the `/frontend` directory change | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Step 1: Checkout the code | |
| - name: Checkout code | |
| uses: actions/checkout@v7 | |
| # Step 2: Install pnpm | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| with: | |
| version: 10 | |
| # Step 3: Set up Node.js | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "26" # match the one in frontend/Dockerfile | |
| cache: "pnpm" | |
| # Specify the subdirectory containing the lockfile | |
| cache-dependency-path: ./frontend/pnpm-lock.yaml | |
| # Step 4: Install dependencies | |
| - name: Install dependencies | |
| working-directory: ./frontend | |
| run: pnpm install | |
| # Step 5: Run the build | |
| - name: Build frontend | |
| working-directory: ./frontend | |
| run: pnpm build |