Skip to content

Use node:sqlite on node version >= 22 #13

Use node:sqlite on node version >= 22

Use node:sqlite on node version >= 22 #13

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
timeout-minutes: 20
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.2.0"
- name: Cache Dependencies
uses: actions/cache@v4
with:
path: |
~/.bun/install/cache
~/work/better-sqlite3-wrapper/better-sqlite3-wrapper/bun.lockb
key: ${{ runner.os }}-bun-cache-v2-${{ hashFiles('package.json') }}
restore-keys: |
${{ runner.os }}-bun-cache-v2-
- name: Run tests
run: |
bun install
bun test