Skip to content

Commit 126c1f6

Browse files
ianhiclaude
andauthored
Fix NPM release workflow to use micromamba environment (#617)
The jlpm command wasn't available because commands weren't running in the micromamba environment where JupyterLab is installed. Use 'micromamba run -n ipympl-release' to execute commands in the correct environment. Fixes #616 Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 1ba8596 commit 126c1f6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ jobs:
3434
3535
- name: Publish the NPM package
3636
run: |
37-
jlpm install && jlpm build
38-
npm publish
37+
micromamba run -n ipympl-release jlpm install
38+
micromamba run -n ipympl-release jlpm build
39+
micromamba run -n ipympl-release npm publish
3940
env:
4041
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4142
PRE_RELEASE: ${{ github.event.release.prerelease }}

0 commit comments

Comments
 (0)