Apply suggestions from code review #246
Workflow file for this run
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
# Builds and tests example applications | |
name: CI | |
on: | |
push: | |
branches-ignore: | |
- master | |
env: | |
NODE_OPTIONS: --max_old_space_size=6144 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Use NodeJS v14 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Build Coffee warehouse app | |
working-directory: ./examples-standalone/coffee-warehouse | |
run: | | |
npm ci | |
npm run build | |
- name: Build Dashboard app | |
working-directory: ./examples-standalone/dashboard | |
run: | | |
npm ci | |
npm run build | |
- name: Cleanup | |
run: git clean -xdf | |