Add settings for hints #12
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: Lint and build | |
on: | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
lint-build-frontend: | |
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 | |
working-directory: ./frontend | |
run: npm install | |
- name: Lint frontend | |
working-directory: ./frontend | |
run: npm run lint | |
- name: Build frontend | |
working-directory: ./frontend | |
run: npm run build | |
lint-build-backend: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
- name: Install backend dependencies | |
working-directory: ./backend | |
run: npm install | |
- name: Lint backend | |
working-directory: ./backend | |
run: npm run lint | |
- name: Build backend | |
working-directory: ./backend | |
run: npm run build |