Skip to content

chore(deps): update all non-major dependencies #2476

chore(deps): update all non-major dependencies

chore(deps): update all non-major dependencies #2476

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- name: Install Bun
uses: oven-sh/setup-bun@v2.2.0
- name: Use cached node_modules
uses: actions/cache@v5
with:
path: node_modules
key: node-modules-${{ hashFiles('**/bun.lock') }}
restore-keys: |
node-modules-
- name: Install Dependencies
run: bun install
- name: Lint
run: bun run lint
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- name: Install Bun
uses: oven-sh/setup-bun@v2.2.0
- name: Use cached node_modules
uses: actions/cache@v5
with:
path: node_modules
key: node-modules-${{ hashFiles('**/bun.lock') }}
restore-keys: |
node-modules-
- name: Install Dependencies
run: bun install
- name: Typecheck
run: bun --bun run typecheck
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v6.0.2
- name: Install Bun
uses: oven-sh/setup-bun@v2.2.0
with:
bun-version: 1.3.14
- name: Use cached node_modules
uses: actions/cache@v5
with:
path: node_modules
key: node-modules-${{ hashFiles('**/bun.lock') }}
restore-keys: |
node-modules-
- name: Install Dependencies
run: bun install
- name: Build
run: bun run build
- name: Unit Test
run: |
# Workaround for Bun test runner hanging in CI after tests complete
# Tests pass in ~15s but Bun doesn't exit, so we timeout after 30s
# and verify tests passed by checking output
timeout 30 bun test 2>&1 | tee test-output.log
EXIT_CODE=$?
if [ $EXIT_CODE -eq 124 ]; then
# Timeout occurred - check if tests actually passed
if grep -q " 0 fail" test-output.log && grep -q " pass" test-output.log; then
echo "✓ All tests passed (Bun hung after completion, killed by timeout)"
exit 0
else
echo "✗ Tests timed out with failures or didn't complete"
cat test-output.log
exit 1
fi
fi
# Tests completed normally (Bun didn't hang)
exit $EXIT_CODE
working-directory: packages/bumpx
timeout-minutes: 2
publish-commit:
needs: [lint, typecheck, test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup Pantry
uses: home-lang/pantry/packages/action@main
- name: Install Dependencies
run: bun install
- name: Build
run: bun run build
- name: Publish Commit
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: pantry publish:commit './packages/action' && pantry publish:commit './packages/bumpx'
env:
PANTRY_REGISTRY_TOKEN: ${{ secrets.PANTRY_TOKEN }}