From b217b33c2dee048def4abbf5ff9583ab564b2e72 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sun, 28 Jun 2026 11:28:55 +0200 Subject: [PATCH] Fix Gitea workflow for CI compatibility --- .gitea/workflows/build.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 353f3fd..cd98dd3 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -11,9 +11,15 @@ jobs: 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 + run: | + git config --global advice.detachedHead false + git checkout -- . + git submodule update --init --recursive + + - name: Setup Node.js + run: | + curl -fsSL https://deb.nodesource.com/setup_24.x | bash - + apt-get install -y nodejs - name: Install dependencies run: npm ci