Skip to content

Commit

Permalink
create frontend workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Amrutiya <[email protected]>
  • Loading branch information
amitamrutiya committed Mar 18, 2024
1 parent db355d1 commit bb8c574
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/workflow_frontend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: React CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]


jobs:
build:

runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend

steps:
- uses: actions/checkout@v2
with:
ref: master

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '20.x'

- name: Install Dependencies
run: npm install

- name: Run ESLint
run: npm run lint

- name: Build
run: npm run build

0 comments on commit bb8c574

Please sign in to comment.