name: Build on: push: branches: [main] pull_request: branches: ['*'] jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Setup Node uses: actions/setup-node@v4 with: node-version: '22' - name: Setup Python uses: actions/setup-python@v5 with: python-version: '3.12' - name: Install build requirements run: python -m pip install "jupyterlab~=4.6.0" build - name: Lint run: | jlpm install jlpm lint:check - name: Build the extension wheel run: python -m build - name: Upload wheel uses: actions/upload-artifact@v4 with: name: extension-wheel path: dist/*.whl