Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ jobs:
libsql:
image: ghcr.io/tursodatabase/libsql-server:latest
ports: ["8080:8080"]
mysql:
image: mysql:8.4
env:
MYSQL_ROOT_PASSWORD: onebase
MYSQL_DATABASE: onebase
ports: ["3306:3306"]
options: --health-cmd "mysqladmin ping -h 127.0.0.1 -ponebase" --health-interval 2s --health-timeout 5s --health-retries 30
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
Expand All @@ -33,6 +40,8 @@ jobs:
env:
TEST_POSTGRES_URL: postgres://postgres:onebase@127.0.0.1:5432/onebase
TEST_LIBSQL_URL: http://127.0.0.1:8080
# Without TLS, MySQL's default sign-in needs the server's public key.
TEST_MYSQL_URL: mysql://root:onebase@127.0.0.1:3306/onebase?allowPublicKeyRetrieval=true
- name: Doctor on every example
run: for d in examples/*/; do echo "== $d"; (cd "$d" && bun ../../src/cli.ts doctor) || exit 1; done
- name: Site builds
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "onebase",
"version": "0.3.0",
"version": "0.3.1",
"description": "A lightweight, Convex-style reactive backend on Bun + SQLite that ships as a single binary.",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// onebase's own version, and how versions compare.

export const VERSION = "0.3.0";
export const VERSION = "0.3.1";

/** [major, minor, patch] of "v1.2.3" or "1.2.3-beta"; null when it isn't a version. */
export function parseVersion(text: string): [number, number, number] | null {
Expand Down
Loading