Skip to content

chore(deps-dev): bump @types/node from 24.12.2 to 25.4.0 #123

chore(deps-dev): bump @types/node from 24.12.2 to 25.4.0

chore(deps-dev): bump @types/node from 24.12.2 to 25.4.0 #123

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
jobs:
unitTest:
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v6
- name: Setup Bun
id: setup_bun
uses: oven-sh/setup-bun@v2
- name: Regenerate lockfile (Dependabot only)
if: startsWith(github.head_ref, 'dependabot/')
shell: bash
run: bun install --lockfile-only
- name: Upload regenerated bun.lock
id: upload_regenerated-bun-lock
if: startsWith(github.head_ref, 'dependabot/')
uses: actions/upload-artifact@v7
with:
archive: false
overwrite: true
name: regenerated-bun-lock
path: bun.lock
- name: Ensure bun.lock exists
shell: bash
run: |
# Ensure a lockfile exists for the frozen install
test -s bun.lock || bun install --lockfile-only
- name: Install dependencies
shell: bash
run: |
# Install all dependencies (including dev) for CI/Tests
bun install --frozen-lockfile
- name: Test & Build Binary
shell: bash
run: |
# Run lint, format check, and bun test via your 'ci' script
bun run ci
# Verify compilation works
mkdir -p bin
bun build --compile --outfile bin/no-response-bin ./src/main.ts
chmod a+rx bin/no-response-bin
# Report the embedded Bun version using the Bun CLI mode
BUN_VERSION=$(BUN_BE_BUN=1 ./bin/no-response-bin --version)
echo "Binary successfully executed. Embedded Bun Version: $BUN_VERSION"
# Operational Validation
# Provide standard default inputs to trigger the internal logic.
# The binary should reach the 'token' requirement check and exit
# with code 1, confirming the TS bundle is intact and executable.
export INPUT_DAYSUNTILCLOSE="14"
export INPUT_RESPONSEREQUIREDLABEL="more-information-needed"
if OUTPUT="$(INPUT_TOKEN= ./bin/no-response-bin 2>&1)"; then
echo "Error: Binary exited with 0 but should have failed on missing token."
exit 1
else
RC=$?
case "${RC}|${OUTPUT}" in
(1|*token*)
echo "Operational test passed: Binary correctly reached internal config logic."
;;
(*) INPUT_TOKEN= ./bin/no-response-bin ;;
esac
fi