Skip to content

Add CI workflows

Add CI workflows #6

Workflow file for this run

name: Lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Install dependencies
run: |
python -m pip install --upgrade pip black 'jupyterlab>=3.0.0,<4'
- name: Lint Python
run: |
black --check .
- name: Lint JS
run: |
jlpm
jlpm run lint:check