From 0211dfb68bf098d1091d66c8db991929d4a831a0 Mon Sep 17 00:00:00 2001 From: Resistencia Dev Date: Sat, 13 Dec 2025 15:30:35 +0100 Subject: [PATCH] fix: Reordenar pasos del workflow - Node.js antes de checkout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Movido setup-node antes del checkout - actions/checkout@v4 requiere Node.js en el PATH para funcionar - Esto debería resolver el error 'Cannot find: node in PATH' --- .gitea/workflows/deployment.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/deployment.yml b/.gitea/workflows/deployment.yml index 424782e..45edbb2 100644 --- a/.gitea/workflows/deployment.yml +++ b/.gitea/workflows/deployment.yml @@ -18,18 +18,18 @@ jobs: runs-on: [production-ready] steps: - # PASO 1: Checkout del Código - - name: 🚀 Checkout del Código - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - # PASO 2: Configurar Node.js (necesario para ejecutar las acciones de checkout/setup) + # PASO 1: Configurar Node.js (necesario para ejecutar las acciones de checkout) - name: ⚙️ Configurar Node.js (Necesario para las acciones) uses: actions/setup-node@v4 with: node-version: '20' + # PASO 2: Checkout del Código + - name: 🚀 Checkout del Código + uses: actions/checkout@v4 + with: + fetch-depth: 0 + # PASO 3: Detener y eliminar contenedores anteriores - name: 🛑 Detener Contenedores Anteriores run: |