fix adding empty string in other names field on personal details scre… #303
This file contains 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: Build Future SIR frontend | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/build-frontend.yaml | |
- frontend/** | |
workflow_call: {} | |
workflow_dispatch: {} | |
env: | |
CI: true | |
permissions: read-all | |
jobs: | |
test-frontend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
- run: npm clean-install | |
working-directory: frontend/ | |
- run: npm run format:check | |
working-directory: frontend/ | |
- run: npm run lint:check | |
working-directory: frontend/ | |
- run: npm run test -- --coverage | |
working-directory: frontend/ | |
- run: npx playwright install chromium --with-deps | |
working-directory: frontend/ | |
- run: npm run test:e2e | |
working-directory: frontend/ | |
build-frontend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
- run: npm clean-install | |
working-directory: frontend/ | |
- run: podman build --file containerfile . | |
working-directory: frontend/ |