Skip to content

Commit

Permalink
Add build pipeline for frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
ltan02 committed Nov 8, 2023
1 parent 76608f9 commit d8b80a3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/frontend-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build Pipeline for Node and React

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: npm run lint

0 comments on commit d8b80a3

Please sign in to comment.