chore: bump version #64
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |