mirror of
https://github.com/Steffo99/jupyterlab-theme-sophon.git
synced 2024-11-29 03:24:28 +00:00
33 lines
760 B
YAML
33 lines
760 B
YAML
|
name: Build
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: master
|
||
|
pull_request:
|
||
|
branches: '*'
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v2
|
||
|
- name: Install node
|
||
|
uses: actions/setup-node@v1
|
||
|
with:
|
||
|
node-version: '12.x'
|
||
|
- name: Install Python
|
||
|
uses: actions/setup-python@v2
|
||
|
with:
|
||
|
python-version: '3.7'
|
||
|
architecture: 'x64'
|
||
|
- name: Install dependencies
|
||
|
run: python -m pip install jupyterlab==3 jupyter_packaging
|
||
|
- name: Build the extension
|
||
|
run: |
|
||
|
jlpm
|
||
|
jlpm run eslint:check
|
||
|
python -m pip install .
|
||
|
jupyter labextension list 2>&1 | grep -ie "jupyterlab_theme_sophon.*OK"
|
||
|
python -m jupyterlab.browser_check
|