[QOLDEV-905] add more deadlock detection to the datastore #120
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.8' | |
permissions: | |
contents: read | |
jobs: | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- uses: actions/setup-node@v4 | |
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: | | |
npm list pyright | |
npx pyright |