Skip to content

Commit

Permalink
test upload-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
seplee committed Apr 5, 2024
1 parent b28165d commit 3015b95
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build-frontend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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: |
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

0 comments on commit 3015b95

Please sign in to comment.