From dcd4e131b35d3667fd7252fe9a85944c31fa5d74 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Mon, 26 Feb 2024 23:09:24 +0530 Subject: [PATCH] yarn --- scripts/editor.bash | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/editor.bash b/scripts/editor.bash index 473e729351..768246d084 100755 --- a/scripts/editor.bash +++ b/scripts/editor.bash @@ -2,6 +2,7 @@ set -euxo pipefail +npm install -g yarn pushd packages/mermaid # Append commit hash to version jq ".version = .version + \"+${COMMIT_REF:0:7}\"" package.json > package.tmp.json @@ -21,11 +22,11 @@ cd mermaid-live-editor # We have to use npm instead of yarn because it causes trouble in netlify # Install dependencies -npx yarn install +yarn install # Link local mermaid to live editor -npx yarn link mermaid +yarn link mermaid # Force Build the site -npx yarn run build -- --force +yarn run build -- --force