[pull] master from ckan:master #418
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: '18' | |
PYTHON_VERSION: '3.9' | |
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@v3 | |
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 |