Skip to content

fix(deps): update dependency @libsql/client to v0.3.6 #503

fix(deps): update dependency @libsql/client to v0.3.6

fix(deps): update dependency @libsql/client to v0.3.6 #503

name: Driver Adapters, Smoke Tests
on:
push:
branches:
- main
pull_request:
paths-ignore:
- '.github/**'
- '!.github/workflows/driver-adapter-smoke-tests.yml'
- '.buildkite/**'
- '*.md'
- 'LICENSE'
- 'CODEOWNERS'
- 'renovate.json'
jobs:
driver-adapter-smoke-tests:
name: ${{ matrix.adapter }}
strategy:
fail-fast: false
matrix:
adapter: ['neon:ws', 'neon:http', planetscale, pg, libsql]
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
# via package.json rewritten into DATABASE_URL before scripts are run
env:
JS_NEON_DATABASE_URL: ${{ secrets.JS_NEON_DATABASE_URL }}
JS_PLANETSCALE_DATABASE_URL: ${{ secrets.JS_PLANETSCALE_DATABASE_URL }}
JS_PG_DATABASE_URL: postgres://postgres:postgres@localhost:5432/test # ${{ secrets.JS_PG_DATABASE_URL }}
# TODO: test sqld and embedded replicas
JS_LIBSQL_DATABASE_URL: file:/tmp/libsql.db
# TODO: test all three of ("number", "bigint", "string") and conditionally skip some tests as appropriate
JS_LIBSQL_INT_MODE: bigint
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18
#cache: 'pnpm'
- name: Compile Query Engine
run: cargo build -p query-engine-node-api
- name: Install Dependencies (Driver Adapters)
run: pnpm install
working-directory: ./query-engine/driver-adapters/js
- name: Build Driver Adapters
run: pnpm build
working-directory: ./query-engine/driver-adapters/js
- run: pnpm prisma:${{ matrix.adapter }}
working-directory: ./query-engine/driver-adapters/js/smoke-test-js
- run: pnpm ${{ matrix.adapter }}:libquery
working-directory: ./query-engine/driver-adapters/js/smoke-test-js
- name: pnpm ${{ matrix.adapter }}:client (using @prisma/client - including engine! - from Npm)
run: pnpm ${{ matrix.adapter }}:client
if: always()
working-directory: ./query-engine/driver-adapters/js/smoke-test-js
driver-adapter-smoke-tests-errors:
name: Errors
runs-on: ubuntu-latest
# services:
# postgres:
# image: postgres
# env:
# POSTGRES_PASSWORD: postgres
# options: >-
# --health-cmd pg_isready
# --health-interval 10s
# --health-timeout 5s
# --health-retries 5
# ports:
# - 5432:5432
env:
# via package.json rewritten into DATABASE_URL before scripts are run
JS_PG_DATABASE_URL: postgres://postgres:postgres@localhost:5432/test
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18
#cache: 'pnpm'
- name: Compile Query Engine
run: cargo build -p query-engine-node-api
- name: Install Dependencies (Driver Adapters)
run: pnpm install
working-directory: ./query-engine/driver-adapters/js
- name: Build Driver Adapters
run: pnpm build
working-directory: ./query-engine/driver-adapters/js
- name: pnpm errors
run: pnpm errors
if: always()
working-directory: ./query-engine/driver-adapters/js/smoke-test-js