Skip to content

Commit bf0c32d

Browse files
committed
ci: debug node in a login shell (temporary)
1 parent b7d125a commit bf0c32d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/debug-pty.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@ jobs:
2323
ldd $d/build/Release/pty.node || true
2424
node -e "try { require('./$d/build/Release/pty.node'); console.log('Release loads') } catch (e) { console.log('Release fails:', e) }"
2525
node -e "require('./$d/lib/unixTerminal.js'); console.log('unixTerminal loads')" || true
26+
- name: Node in a login shell, as the parity harness runs the oracle
27+
run: |
28+
sh -lc 'echo "PATH=$PATH"; which -a node; node --version; /usr/local/bin/node --version'
29+
sh -lc 'node -e "require(\"./reference/node_modules/.pnpm/node-pty@1.0.0/node_modules/node-pty/build/Release/pty.node\"); console.log(\"Release loads in a login shell\")"' || echo "Release fails in a login shell"

0 commit comments

Comments
 (0)