Skip to content

Commit e405fbe

Browse files
committed
use npm pack in publish
1 parent d704f96 commit e405fbe

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/publish.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,9 @@ jobs:
6565
- name: Javascript package
6666
run: |
6767
mkdir jsdist
68-
cd labextension
69-
jlpm pack --filename ../jsdist/labextension-jlpmpack.tgz
70-
cd ../jsdist && sha256sum * | tee SHA256SUMS
71-
68+
cd jsdist
69+
npm pack ../labextension
70+
sha256sum * | tee SHA256SUMS
7271
7372
- name: Upload Python artifact
7473
uses: actions/upload-artifact@v3
@@ -127,10 +126,10 @@ jobs:
127126
path: jsdist
128127

129128
- run: |
130-
npm publish --dry-run ./jsdist/labextension-jlpmpack.tgz
129+
npm publish --dry-run ./jsdist/jupyterhub-jupyter-server-proxy-*.tgz
131130
132131
- run: |
133-
npm publish ./jsdist/labextension-jlpmpack.tgz
132+
npm publish ./jsdist/jupyterhub-jupyter-server-proxy-*.tgz
134133
if: startsWith(github.ref, 'refs/tags')
135134
env:
136135
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)