File tree Expand file tree Collapse file tree 2 files changed +31
-6
lines changed Expand file tree Collapse file tree 2 files changed +31
-6
lines changed Original file line number Diff line number Diff line change @@ -15,20 +15,45 @@ jobs:
15
15
- name : Install node
16
16
uses : actions/setup-node@v1
17
17
with :
18
- node-version : ' 10 .x'
18
+ node-version : ' 12 .x'
19
19
- name : Install Python
20
20
uses : actions/setup-python@v1
21
21
with :
22
22
python-version : ' 3.8'
23
23
architecture : ' x64'
24
+ - name : Cache pip on Linux
25
+ uses : actions/cache@v1
26
+ if : startsWith(runner.os, 'Linux')
27
+ with :
28
+ path : ~/.cache/pip
29
+ key : ${{ runner.os }}-pip-${{ matrix.python }}-${{ hashFiles('**/requirements.txt') }}
30
+ restore-keys : |
31
+ ${{ runner.os }}-pip-${{ matrix.python }}
32
+
33
+ - name : Get yarn cache directory path
34
+ id : yarn-cache-dir-path
35
+ run : echo "::set-output name=dir::$(yarn cache dir)"
36
+ - name : Cache yarn
37
+ uses : actions/cache@v1
38
+ id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
39
+ with :
40
+ path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
41
+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
42
+ restore-keys : |
43
+ ${{ runner.os }}-yarn-
24
44
- name : Install dependencies
25
- run : python -m pip install --pre jupyterlab
45
+ run : |
46
+ python -m pip install --pre jupyterlab==3.0.0b7
47
+ python -m pip install jupyter_packaging
26
48
- name : Build the extension
27
49
run : |
28
- jlpm
50
+ pip install .
51
+ jlpm install
29
52
jlpm run build
30
53
cd jupyterlab_widgets
31
-
32
- jupyter labextension install .
54
+ pwd
55
+ pip install -e .
56
+ jupyter labextension develop . --overwrite
57
+ jupyter labextension list
33
58
34
59
python -m jupyterlab.browser_check
Original file line number Diff line number Diff line change 65
65
cmdclass = cmdclass ,
66
66
packages = setuptools .find_packages (),
67
67
install_requires = [
68
- "jupyterlab~=3.0.0b6 " ,
68
+ "jupyterlab~=3.0.0b7 " ,
69
69
],
70
70
zip_safe = False ,
71
71
include_package_data = True ,
You can’t perform that action at this time.
0 commit comments