Bump enough dependencies to get them installing #138
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: Linting | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint_javascript: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- name: Install JavaScript dependencies | |
run: yarn install | |
- name: Build React static files | |
run: yarn build | |
- name: Run eslint on JavaScript source | |
run: yarn eslint src | |
lint_python: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
- name: Install Flake8 | |
run: pip install flake8 | |
- name: Lint with flake8 | |
run: flake8 api |