Job: test
Runner: g1t, Linux X64 (Debian bookworm, Node 24, Python 3, Go, Rust)
Checking out syntaqx/automation-lab into /home/runner/work/repo
[command]git init --quiet
[command]git remote add origin https://g1t.sh/syntaqx/automation-lab.git
[command]git fetch --no-tags --prune --quiet --depth=1 origin refs/heads/g1t-queue/qen_01m40c1zqwea091nf82s5mdtpf
[command]git checkout --quiet --force -B g1t-queue/qen_01m40c1zqwea091nf82s5mdtpf 110cb1268f67585cdcb235a6dbf0e85b6e5c1da8
Checked out 110cb1268f67585cdcb235a6dbf0e85b6e5c1da8
##[group]Unit tests
node test.js
##[endgroup]
shell: bash -e /home/runner/_temp/18dbf5c8f835d7f3.sh
all tests passed
##[group]House style
# Every exported function is documented with a JSDoc block.
for fn in $(grep -oE '^function [a-zA-Z]+' math.js | cut -d' ' -f2); do
  if ! grep -B1 "^function $fn" math.js | grep -q '^ \*/\|^\*/\|\*/$'; then
    echo "::error file=math.js,title=House style::$fn needs a /** JSDoc */ comment right above it"
    exit 1
  fi
done
echo "house style ok"
##[endgroup]
shell: bash -e /home/runner/_temp/18d8f5c92f64dd7c.sh
house style ok
