Skip to content

chore(deps-dev): bump @types/node from 25.9.4 to 26.0.0 #15

chore(deps-dev): bump @types/node from 25.9.4 to 26.0.0

chore(deps-dev): bump @types/node from 25.9.4 to 26.0.0 #15

Workflow file for this run

name: CI
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
jobs:
test:
name: Test
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.0.2
with:
bun-version: "1.2.21"
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "22"
- name: Start SurrealDB
run: |
docker run -d --name surrealdb \
-p 4321:8000 \
-e SURREAL_CAPS_ALLOW_EXPERIMENTAL='*' \
surrealdb/surrealdb:v3.1.4 \
start --user root --pass root --bind 0.0.0.0:8000 memory
timeout 30 sh -c 'until curl -sf http://localhost:4321/health; do sleep 1; done'
docker logs surrealdb
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Lint
run: bun run lint
- name: Test
timeout-minutes: 5
run: npx vitest run --reporter=verbose
env:
SURREAL_URL: ws://127.0.0.1:4321
SURREAL_USER: root
SURREAL_PASS: root
- name: SurrealDB logs (on failure)
if: failure()
run: docker logs surrealdb