-
Notifications
You must be signed in to change notification settings - Fork 2
54 lines (43 loc) · 1.2 KB
/
on-push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: CI
on: [push]
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: [3.8]
os: [ubuntu-latest, macos-latest, windows-latest]
jupyterlab-version: [1.0.0, 2.0.0, 3.0.0]
node-version: [14]
steps:
- uses: actions/checkout@v2
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Set up node ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install jupyterlab
run: |
pip install jupyterlab==${{ matrix.jupyterlab-version }}
- name: Install extension
run: |
jupyter labextension link
jupyter labextension list 2>&1 | grep theme-ayu-mirage
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up node 14
uses: actions/setup-node@v2
with:
node-version: 14
- name: Install
run: npm install
- name: Publish to NPM
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}