File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -10,20 +10,15 @@ jobs:
10
10
11
11
- uses : actions/checkout@v2
12
12
13
- - name : Install node
14
- uses : actions /setup-node@v1
13
+ - name : Setup conda
14
+ uses : conda-incubator /setup-miniconda@v2
15
15
with :
16
- node-version : ' 14.x'
17
- registry-url : ' https://registry.npmjs.org'
18
-
19
- - name : Install Python
20
- uses : actions/setup-python@v2
21
- with :
22
- python-version : ' 3.x'
16
+ mamba-version : " *"
17
+ channels : conda-forge
23
18
24
19
- name : Install dependencies
25
20
run : |
26
- python -m pip install --upgrade pip
21
+ mamba install -c conda-forge python=3.9 jupyterlab yarn matplotlib ipywidgets jupyter-packaging=0.7
27
22
pip install twine wheel build
28
23
29
24
- name : Publish the Python package
36
31
37
32
- name : Publish the NPM package
38
33
run : |
39
- echo $PRE_RELEASE
40
- if [[ $PRE_RELEASE == "true" ]]; then export TAG="next"; else export TAG="latest"; fi
41
- npm publish --tag ${TAG} --access public
34
+ yarn install && yarn run build
35
+ npm publish
42
36
env :
43
37
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
44
38
PRE_RELEASE : ${{ github.event.release.prerelease }}
You can’t perform that action at this time.
0 commit comments