diff options
| author | Elizabeth Hunt <me@liz.coffee> | 2025-12-07 13:30:48 -0800 |
|---|---|---|
| committer | Elizabeth Hunt <me@liz.coffee> | 2025-12-07 13:30:48 -0800 |
| commit | 0ed1526e0104a13e9c3a0d1359a971a92c38278e (patch) | |
| tree | 14f227a75462dd63c6a485b0704bf0b30d899209 /packpub/npm/publish.sh | |
| parent | 9aae9032de12563c4f676025bd104b0ee3330791 (diff) | |
| download | ci-0ed1526e0104a13e9c3a0d1359a971a92c38278e.tar.gz ci-0ed1526e0104a13e9c3a0d1359a971a92c38278e.zip | |
Add mise to model
Diffstat (limited to 'packpub/npm/publish.sh')
| -rw-r--r-- | packpub/npm/publish.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packpub/npm/publish.sh b/packpub/npm/publish.sh index 1f01f27..9282b68 100644 --- a/packpub/npm/publish.sh +++ b/packpub/npm/publish.sh @@ -4,7 +4,10 @@ set -e cd /src mise trust mise install -mise reshim + +NPM_PATH=$(mise which npm) +NODE_BIN_DIR=$(dirname "$NPM_PATH") +export PATH="$NODE_BIN_DIR:$PATH" npm install --save-dev npm run build |
