Update frontend components and styles #527
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: Frontend Quality Assurance | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| branches: [main, develop] | |
| paths: | |
| - 'apps/frontend/**' | |
| - 'packages/**' | |
| - '.github/workflows/frontend-qa.yml' | |
| workflow_dispatch: | |
| jobs: | |
| test-and-lint: | |
| name: Frontend Quality Assurance | |
| runs-on: ubuntu-latest | |
| outputs: | |
| environment: ${{ steps.env.outputs.environment }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Get Environment | |
| id: env | |
| uses: ./.github/actions/get-environment | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24' | |
| - name: Install dependencies | |
| run: npm install --ignore-scripts --no-package-lock | |
| - name: Build graph-workflow package | |
| run: npm run build -w packages/graph-workflow | |
| - name: Run Linter | |
| working-directory: apps/frontend | |
| run: npm run lint | |
| - name: Type Check | |
| working-directory: apps/frontend | |
| run: npm run type-check | |
| - name: Production Build | |
| working-directory: apps/frontend | |
| run: npm run build | |
| - name: Run Unit Tests | |
| working-directory: apps/frontend | |
| run: npm run test |