File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed
Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -340,8 +340,9 @@ jobs:
340340 . venv/bin/activate
341341 pip install --upgrade pip wheel
342342 pip install -r ./test_requirements/requirements_38_core.txt black inflect
343+ pip install jupyterlab~=3.0
343344 - run :
344- name : Update widget plotly.js version
345+ name : Update jupyterlab-plotly and jupyter widget plotly.js version
345346 command : |
346347 cd packages/python/plotly
347348 . venv/bin/activate
@@ -395,16 +396,29 @@ jobs:
395396 conda config --remove channels defaults
396397 conda config --add channels conda-forge
397398 conda create -n env --yes python=3.9 conda-build=3.28.4 conda-verify
398- conda install -n env -c conda-forge nodejs=16
399+ conda install -n env -c conda-forge jupyterlab=3 nodejs=16
399400 conda init bash
400401 mkdir output
401402
403+ - run :
404+ name : initial NPM Build
405+ command : |
406+ eval "$(conda shell.bash hook)"
407+ conda activate env
408+ cd packages/javascript/jupyterlab-plotly
409+ npm ci
410+ npm run build:prod
411+ git status
412+
402413 - run :
403414 name : PyPI Build
404415 command : |
405416 eval "$(conda shell.bash hook)"
406417 conda activate env
407- cd packages/python/plotly
418+ cd packages/javascript/jupyterlab-plotly
419+ npm pack
420+ mv jupyterlab-plotly*.tgz ../../../output
421+ cd ../../python/plotly
408422 python setup.py sdist bdist_wheel
409423 cp -R dist ../../../output/dist
410424 git status
You can’t perform that action at this time.
0 commit comments