diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e4886f8..42e0ddb9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ on: - master jobs: - black: + lint_and_type_check: runs-on: ubuntu-latest steps: @@ -19,12 +19,27 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.x' + - name: Install dependencies - run: | - pip install black - - name: Run Black - run: | - black --check . + run: pip install black mypy + + - name: Check code formatting with black + run: black --check . + + - name: Type check with mypy + run: mypy . + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '18.x' + + - name: Install Node.js dependencies + run: npm ci + + - name: Run ESLint + run: npm run lint +