Skip to content

Agrega paso de build al pipeline - refactor #5

Agrega paso de build al pipeline - refactor

Agrega paso de build al pipeline - refactor #5

Workflow file for this run

name: Build and Deploy React App
on:
push:
branches:
- new-web
path:
- .github/workflows/web.yml
jobs:
web-build:
runs-on: ubuntu-latest
steps:
- name: Checkout código fuente
uses: actions/checkout@v2
- name: Configurar Node.js
uses: actions/setup-node@v2
with:
node-version: 14
- name: Instalar dependencias
run: npm install
working-directory: ./web
- name: Compilar la aplicación
run: npm run build
working-directory: ./web
- name: Publicar artefactos
uses: actions/upload-artifact@v2
with:
name: build
path: web/build