/ concept-collection / jupyterlite-numbl-kernel
Sign in
concept-collection / jupyterlite-numbl-kernel
jupyterlite-numbl-kernel / .github / workflows / build.yml
41 lines · 810 BBlameHistoryRaw
1name: Build
3on:
4 push:
5 branches: [main]
6 pull_request:
7 branches: ['*']
9jobs:
10 build:
11 runs-on: ubuntu-latest
12 steps:
13 - name: Checkout
14 uses: actions/checkout@v4
16 - name: Setup Node
17 uses: actions/setup-node@v4
18 with:
19 node-version: '22'
21 - name: Setup Python
22 uses: actions/setup-python@v5
23 with:
24 python-version: '3.12'
26 - name: Install build requirements
27 run: python -m pip install "jupyterlab~=4.6.0" build
29 - name: Lint
30 run: |
31 jlpm install
32 jlpm lint:check
34 - name: Build the extension wheel
35 run: python -m build
37 - name: Upload wheel
38 uses: actions/upload-artifact@v4
39 with:
40 name: extension-wheel
41 path: dist/*.whl
moveopenescclose