name: Tests on: push: branches: [main, dev] pull_request: jobs: test: runs-on: ubuntu-latest container: image: node:22-bullseye steps: - name: Checkout uses: actions/checkout@v4 - name: Install dependencies run: npm ci --no-audit --no-fund - name: Astro check (types + lint hints) run: npm run check - name: Vitest run: npm test - name: Astro build (vérifie que le build prod passe) run: npm run build