name: CI # Lint and tests on every push and every pull request. `format:check` is # deliberately absent: the repository still holds CRLF files that predate the # Prettier configuration, so the step would fail on untouched code. Normalise # the line endings in a commit of their own, then add it here. on: push: branches: [main] pull_request: jobs: quality: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: '22' cache: npm - name: Installer les dépendances run: npm ci - name: Lint run: npm run lint - name: Tests run: npm test # The changelog is generated from the commit history, so a stale one is # a real defect rather than a formatting detail. - name: Changelog à jour run: npm run changelog:check