Skip to content

Commit

Permalink
Create build-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakk33 authored Mar 4, 2024
1 parent 6efab39 commit 17aa0ab
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build React App

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Install Dependencies
run: yarn install

- name: Build React App
run: yarn build

- name: Archive Production Build
uses: actions/upload-artifact@v2
with:
name: build
path: build # Adjust this to match your build output directory

0 comments on commit 17aa0ab

Please sign in to comment.