Merge pull request #530 from meishamzah/new_interface #1195
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: React Build and Tests | |
on: | |
push: | |
paths: [ 'eda-frontend/**' ] | |
pull_request: | |
paths: [ 'eda-frontend/**' ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 10.5.0 | |
- name: Install packages,lint,build and Unit testing | |
working-directory: ./eda-frontend | |
run: | | |
export NODE_OPTIONS=--max_old_space_size=4096 | |
npm install | |
CI=true npm run build | |
CI=true npm test |