Update README.md #170
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 | |
on: [push, pull_request] | |
jobs: | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Installing Node | |
uses: actions/[email protected] | |
with: | |
node-version: 14 | |
- name: Install frontend deps | |
working-directory: frontend | |
run: | | |
npm i -g [email protected] | |
yarn | |
- name: Lint frontend | |
working-directory: frontend | |
run: yarn lint | |
- name: Install backend deps | |
working-directory: backend | |
run: | | |
pip3 install poetry | |
poetry install | |
- name: Lint backend | |
working-directory: backend | |
run: poetry run flake8 . |