File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ pushd packages/mermaid
1111# Append commit hash to version
1212jq " .version = .version + \" +${COMMIT_REF: 0: 7} \" " package.json > package.tmp.json
1313mv package.tmp.json package.json
14- yarn link
1514popd
1615
1716pnpm run -r clean
@@ -26,13 +25,14 @@ cd mermaid-live-editor
2625git clean -xdf
2726rm -rf docs/
2827
29- # We have to use npm instead of yarn because it causes trouble in netlify
28+ # Tells PNPM that mermaid-live-editor is not part of this workspace
29+ touch pnpm-workspace.yaml
30+
3031# Install dependencies
31- yarn install
32+ pnpm install --frozen-lockfile
3233
3334# Link local mermaid to live editor
34- yarn link mermaid
35+ pnpm link ../packages/ mermaid
3536
3637# Force Build the site
37- yarn run build
38-
38+ pnpm run build
You can’t perform that action at this time.
0 commit comments