1
Fork 0
mirror of https://github.com/Steffo99/jupyterlab-theme-sophon.git synced 2024-11-24 17:14:29 +00:00
jupyterlab-theme-sophon/.github/workflows/build.yml

33 lines
760 B
YAML
Raw Normal View History

2021-08-31 23:31:14 +00:00
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