OverviewFilesCommitsIssuesDocsReleasesPeers

hyper-note commits / 1ace640

Fix CI yaml: detect node_modules path per-machine
Supports both tabertron (/storage/projects/...) and stortron (~/.local/share/hypernote/) for portable CI/CD. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1ace640de952e88ddde145febe06ec3690bc5fb9
by plankatron <fleeky@gmail.com> · 2026-03-17T15:23:29.000Z

Changed files (1) +12 -3

.pear-git/ci.yaml +12 -3
……@@ -1,8 +1,17 @@
11steps:
22 - name: copy-deps
3 run: >
4 cp -r /storage/projects/code/hypercore-kb/hyper-fleeky/hypernote/node_modules .
5 && rm -rf node_modules/pear-runtime/node_modules
3 run: |
4 if [ -d /storage/projects/code/hypercore-kb/hyper-fleeky/hypernote/node_modules ]; then
5 SRC=/storage/projects/code/hypercore-kb/hyper-fleeky/hypernote/node_modules
6 elif [ -d "$HOME/.local/share/hypernote/node_modules" ]; then
7 SRC="$HOME/.local/share/hypernote/node_modules"
8 else
9 echo "ERROR: No node_modules source found" && exit 1
10 fi
11 echo "Copying node_modules from $SRC"
12 cp -r "$SRC" .
13 rm -rf node_modules/pear-runtime/node_modules
14 rm -rf node_modules/bare-sidecar
615 timeout: 120
716 - name: patch-pear-runtime
817 run: |