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]
|
runs-on: [production-ready]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# PASO 1: Checkout del Código
|
# PASO 1: Configurar Node.js (necesario para ejecutar las acciones de checkout)
|
||||||
- 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)
|
|
||||||
- name: ⚙️ Configurar Node.js (Necesario para las acciones)
|
- name: ⚙️ Configurar Node.js (Necesario para las acciones)
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
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
|
# PASO 3: Detener y eliminar contenedores anteriores
|
||||||
- name: 🛑 Detener Contenedores Anteriores
|
- name: 🛑 Detener Contenedores Anteriores
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user