Skip to content

drive-gooder frontend build Harrolee #3

drive-gooder frontend build Harrolee

drive-gooder frontend build Harrolee #3

name: Build FE
run-name: drive-gooder frontend build ${{ github.actor }}
on:
push:
branches: ["prod"]
paths:
- "web/**"
pull_request:
branches: ["prod"]
paths:
- "web/**"
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
build-deploy:
name: Build Frontend
runs-on: ubuntu-latest
environment: prod
steps:
- name: Build FE
run: |
pwd
ls
cd web
npm i
react-scripts build
# FE build will be in build
- uses: actions/upload-artifact@v4
with:
name: frontend-build
path: web/build