build(deps): update Rust and UI dependencies #52
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: CI Frontend | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - .github/workflows/ci-frontend.yml | |
| - ui/** | |
| pull_request: | |
| paths: | |
| - .github/workflows/ci-frontend.yml | |
| - ui/** | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| frontend: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| defaults: | |
| run: | |
| working-directory: ui | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Set up Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: lts/* | |
| cache: npm | |
| cache-dependency-path: ui/package-lock.json | |
| - name: Install UI dependencies | |
| run: npm ci | |
| - name: Verify current Askr packages | |
| run: | | |
| npx --no-install askr upgrade | |
| git diff --exit-code -- package.json package-lock.json | |
| - name: Askr analyzer | |
| run: npx --no-install askr analyze | |
| - name: Check generated adapters | |
| run: npm run check:generated | |
| - name: UI format check | |
| run: npm run fmt:check | |
| - name: UI lint | |
| run: npm run lint | |
| - name: UI type check | |
| run: npm run type-check | |
| - name: UI build | |
| run: npm run build | |
| - name: Build-only container validation | |
| working-directory: . | |
| run: docker build --target frontend --tag fitz-ui-build . | |
| - name: Install Playwright browser | |
| run: npm run install:browsers | |
| - name: UI tests | |
| run: npm run test -- --run | |
| - name: Production preview smoke | |
| run: npm run test:e2e:preview | |
| - name: Playwright route suite | |
| run: npm run test:e2e | |
| - name: Upload Playwright failure artifacts | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: fitz-ui-playwright-failures | |
| path: | | |
| ui/test-results/** | |
| ui/playwright-report/** | |
| if-no-files-found: ignore |