test(ci): build sqlite driver from source

This commit is contained in:
hongboji
2026-08-04 16:28:39 +08:00
parent 6cb2385263
commit 57be1ebdee
+4 -2
View File
@@ -43,6 +43,7 @@ on:
jobs:
postgres-test:
strategy:
fail-fast: false
matrix:
node_version: ['22']
underscored: [true, false]
@@ -86,8 +87,9 @@ jobs:
- name: Install project dependencies
run: |
apt-get update && apt-get install -y python3 make g++
yarn install
yarn add sqlite3 --no-save -W
yarn add sqlite3 --no-save -W --build-from-source
- name: Test with postgres
run: |
./node_modules/.bin/tsx packages/core/test/src/scripts/test-db-creator.ts &
@@ -109,4 +111,4 @@ jobs:
DB_TEST_PREFIX: test
ENCRYPTION_FIELD_KEY: 1%&glK;<UA}aIxJVc53-4G(rTi0vg@J]
CACHE_REDIS_URL: ${{ matrix.cache_redis }}
timeout-minutes: 120
timeout-minutes: 180