name: Build Project on: push: branches: [main, master] pull_request: branches: [main, master] jobs: build: runs-on: linux # Doit correspondre à GITEA_RUNNER_LABELS (ex: linux:docker,dind) container: node:24 # Utilise l'image officielle Node.js 24 steps: - name: Checkout repository uses: actions/checkout@v4 # Action Gitea pour checkout with: fetch-depth: 0 - name: Install dependencies run: npm ci - name: Build project run: npm run build