Displaying Axios and HTTP errors #112
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: QA | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
check-scraper-qa: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version-file: scraper/pyproject.toml | |
architecture: x64 | |
- name: Install dependencies | |
working-directory: scraper | |
run: | | |
pip install -U pip | |
pip install -e .[lint,check,scripts,test] | |
- name: Check black formatting | |
working-directory: scraper | |
run: inv lint-black | |
- name: Check ruff | |
working-directory: scraper | |
run: inv lint-ruff | |
- name: Check pyright | |
working-directory: scraper | |
run: inv check-pyright | |
check-zimui-qa: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: zimui/.node-version | |
- name: Install JS dependencies | |
working-directory: zimui | |
run: | | |
yarn install | |
- name: Check prettier | |
working-directory: zimui | |
run: | | |
yarn format | |
- name: Check eslint | |
working-directory: zimui | |
run: | | |
yarn lint |