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