Skip to content

Commit c3af57f

Browse files
committed
Install jupyterlab to obtain jlpm
1 parent 62862c4 commit c3af57f

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

.github/workflows/publish.yml

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,27 @@ on:
44
release:
55
types: [published]
66

7-
87
jobs:
98
deploy:
109
runs-on: ubuntu-latest
1110
steps:
12-
- uses: actions/checkout@v2
13-
- name: Install node
14-
uses: actions/setup-node@v1
15-
with:
16-
node-version: '12.x'
17-
registry-url: 'https://registry.npmjs.org'
18-
- name: Build and publish NPM package
19-
run: |
20-
npm install
21-
npm publish
22-
env:
23-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
11+
- uses: actions/checkout@v2
12+
- name: Install node
13+
uses: actions/setup-node@v1
14+
with:
15+
node-version: '12.x'
16+
registry-url: 'https://registry.npmjs.org'
17+
- name: Install Python
18+
uses: actions/setup-python@v1
19+
with:
20+
python-version: '3.x'
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install jupyterlab~=2.0
25+
- name: Build and publish NPM package
26+
run: |
27+
npm install
28+
npm publish
29+
env:
30+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)