Merge pull request #195 from Geoportail-Luxembourg/GITLAB-32-catalog_… #1107
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: Lint, Build & Test | |
on: | |
push: | |
tags: | |
- '*' | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-lint-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 22 | |
cache: 'npm' | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run type-check | |
- run: npm run build-only -- --mode=e2e | |
- run: npm run test:unit:ci | |
- run: npm run test:e2e:ci | |
- run: npm run coverage-report |