Skip to content

Commit

Permalink
EGCETSII#43-fix: recover react.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JSnow11 committed Jan 9, 2022
1 parent 3b6956a commit e7edfb0
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/react.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: React CI

on:
push:
branches: [master, main, develop]
pull_request:
branches: [master, main, develop]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [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 }}
- name: Install dependencies
run: |
cd decide/administration/frontend &&
npm install
- name: Build app
run: |
cd decide/administration/frontend &&
npm run build --if-present
- name: Test app
run: |
cd decide/administration/frontend &&
npm run test

0 comments on commit e7edfb0

Please sign in to comment.