diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8dfff93..693e73f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,30 @@ jobs: - name: Run qlty code smells analysis run: qlty smells + lint-and-format: + name: Lint & Format + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Base Setup + uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 + + - name: Install dependencies + run: python -m pip install -U "jupyterlab>=4.0.0,<5" + + - name: Install node dependencies + run: jlpm + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Run lint and format checks + run: jlpm run lint:check + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + audit-prod: name: Audit - Production runs-on: ubuntu-latest