From 9677f609b719e390b485db9af070e607b398f5a9 Mon Sep 17 00:00:00 2001 From: Ian Hunt-Isaak Date: Wed, 21 Jan 2026 15:40:52 -0500 Subject: [PATCH] Fix NPM release workflow to use micromamba environment 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 --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d924c414..04f0b3f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,8 +34,9 @@ jobs: - name: Publish the NPM package run: | - jlpm install && jlpm build - npm publish + micromamba run -n ipympl-release jlpm install + micromamba run -n ipympl-release jlpm build + micromamba run -n ipympl-release npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} PRE_RELEASE: ${{ github.event.release.prerelease }}