Skip to content

Commit

Permalink
yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Feb 26, 2024
1 parent 8d3a819 commit dcd4e13
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/editor.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit dcd4e13

Please sign in to comment.