mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-10-25 17:36:32 +08:00
39 lines
972 B
YAML
39 lines
972 B
YAML
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
|