fix(wcdb): allow partial third-party query providers

This commit is contained in:
elilitokirin1111-code committed 2026-10-08 18:10:20 +08:00
1 parent 837697ba26
commit e707a07945
5 files changed
+415 -32

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
name: WCDB compatibility
on:
pull_request:
paths:
- 'electron/services/wcdbCore.ts'
- 'electron/utils/pathUtils.ts'
- 'scripts/check-wcdb-optional-exports.cjs'
- 'package.json'
- 'package-lock.json'
- '.github/workflows/wcdb-compatibility.yml'
push:
paths:
- 'electron/services/wcdbCore.ts'
- 'electron/utils/pathUtils.ts'
- 'scripts/check-wcdb-optional-exports.cjs'
- 'package.json'
- 'package-lock.json'
- '.github/workflows/wcdb-compatibility.yml'
permissions:
contents: read
jobs:
regression:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 24
cache: npm
- run: npm ci --ignore-scripts --legacy-peer-deps --no-audit --no-fund
- run: npm run test:wcdb
- run: npm run typecheck