Skip to content

Commit

Permalink
feat: add frontend actions to check build status
Browse files Browse the repository at this point in the history
  • Loading branch information
andy89923 committed Dec 31, 2024
1 parent accec3f commit 98c4dbb
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-frontend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build Frontend

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-24.04

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
run: |
cd frontend
yarn install
- name: Build frontend
run: |
cd frontend
yarn install && yarn build

0 comments on commit 98c4dbb

Please sign in to comment.