Add signature: Arnault Le Prévost Belleville #281
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: Validate | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main, "renovate/**"] | |
| # Cancel an in-progress run when a newer commit lands on the same ref (PR or | |
| # branch), so rapid pushes don't pile up redundant runs. Scoped per-ref, so | |
| # different PRs never cancel each other. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| # Required check. Fast + reliable: build, unit tests, component LOC budget. | |
| build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: app | |
| steps: | |
| - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 | |
| with: | |
| # Full history so the signature-date generator (prebuild) can read | |
| # each signatory file's add commit. | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 | |
| with: | |
| node-version: 'lts/*' | |
| cache: 'npm' | |
| cache-dependency-path: app/package-lock.json | |
| - run: npm ci | |
| - run: npm run build | |
| - run: npm test | |
| - run: bash tests/check-component-loc.sh |