steps:
- name: copy-deps
# Copy the pre-built node_modules (carries the postinstall lib0 patch and
# bare-* native prebuilds) rather than npm install, so the patched tree
# ships intact.
run: |
if [ -d /storage/projects/code/hypercore-kb/hyper-fleeky/hypernote/node_modules ]; then
SRC=/storage/projects/code/hypercore-kb/hyper-fleeky/hypernote/node_modules
elif [ -d "$HOME/.local/share/hypernote/node_modules" ]; then
SRC="$HOME/.local/share/hypernote/node_modules"
else
echo "ERROR: No node_modules source found" && exit 1
fi
echo "Copying node_modules from $SRC"
cp -r "$SRC" .
timeout: 120
- name: pgh-publish
run: pgh publish . --accept-conflict "automated CI publish; dep version splits inherited from per-app lockfiles across the pgh ecosystem"
timeout: 300