Skip to content

Fix bundle time

Fix bundle time #12

Workflow file for this run

name: Bun CI
on:
push:
paths-ignore:
- "*.md"
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: "1.1.0"
- name: Cache Dependencies
uses: actions/cache@v4
with:
path: |
~/.bun/install/cache
~/work/better-sqlite3-migrate/better-sqlite3-migrate/bun.lockb
key: ${{ runner.os }}-bun-cache-v5-${{ hashFiles('package.json') }}
restore-keys: |
${{ runner.os }}-bun-cache-v5-
- name: Run tests
run: |
bun install
bun ./sql-bundle.mjs ./test/migrations
bun test