Skip to content

Agrega paso de build al pipeline #3

Agrega paso de build al pipeline

Agrega paso de build al pipeline #3

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: |
cd web
npm run build
- name: Publicar artefactos
uses: actions/upload-artifact@v2
with:
name: build
path: web/build