fix: Reordenar pasos del workflow - Node.js antes de checkout
Some checks failed
CI/CD - Francia Ocupada (La Resistencia) / build-and-deploy (push) Failing after 2s
Some checks failed
CI/CD - Francia Ocupada (La Resistencia) / build-and-deploy (push) Failing after 2s
- 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'
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user