Refactor/break UI into components #8
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
name: MVP Frontend Build | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
- name: Install dependencies | |
run: | | |
cd mvp/client/ui | |
npm install | |
- name: Run tests | |
run: | | |
cd mvp/client/ui | |
npm run test | |
- name: Build frontend | |
run: | | |
cd mvp/client/ui | |
npm run build |