capture more generic error message #9
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: Check types | |
on: [pull_request] | |
env: | |
NODE_VERSION: '16' | |
PYTHON_VERSION: '3.7' | |
permissions: | |
contents: read | |
jobs: | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- uses: actions/setup-node@v2-beta | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install python deps | |
run: pip install -r requirements.txt -r dev-requirements.txt -e. | |
- name: Install node deps | |
run: npm ci | |
- name: Check types | |
run: npx pyright |