This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
Merge branch 'main' into tracking-matomo-filtre-financement #200
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm install | |
- name: Check formatting | |
run: npm run format:check | |
- name: Lint code | |
run: npm run lint | |
- name: Run tests | |
run: npm run test | |
- name: Build project | |
run: npm run build |