aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-12-07 13:30:48 -0800
committerElizabeth Hunt <me@liz.coffee>2025-12-07 13:30:48 -0800
commit0ed1526e0104a13e9c3a0d1359a971a92c38278e (patch)
tree14f227a75462dd63c6a485b0704bf0b30d899209
parent9aae9032de12563c4f676025bd104b0ee3330791 (diff)
downloadci-0ed1526e0104a13e9c3a0d1359a971a92c38278e.tar.gz
ci-0ed1526e0104a13e9c3a0d1359a971a92c38278e.zip
Add mise to model
-rw-r--r--model/mise.toml4
-rw-r--r--packpub/npm/publish.sh5
2 files changed, 8 insertions, 1 deletions
diff --git a/model/mise.toml b/model/mise.toml
new file mode 100644
index 0000000..e6e84b4
--- /dev/null
+++ b/model/mise.toml
@@ -0,0 +1,4 @@
+[tools]
+node = "22.16.0"
+npm = "latest"
+
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