From 6d77b350a3c7d837d51451b00fa3391bb0be5b43 Mon Sep 17 00:00:00 2001 From: James Cacapit <54386626+dendenso@users.noreply.github.com> Date: Thu, 24 Apr 2025 15:13:17 -0700 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..f177dd3 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +name: React Build + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: '18' + + - name: Install dependencies + run: npm install + + - name: Run build + run: npm run build + + - name: Upload build artifacts + uses: actions/upload-artifact@v3 + with: + name: build + path: build