mirror of
https://github.com/fancive/obsidian-parallel-reader.git
synced 2026-07-22 17:20:24 +00:00
- Fix CI to run all 4 test files (was missing direct-modules.test.js) - Remove unused ESLint dependencies (eslint, @typescript-eslint/*, eslint-plugin-obsidianmd) - Enable noImplicitReturns in tsconfig.json for stricter type safety - Make applyApiProviderPreset return new object instead of mutating input - Add per-file error handling in batch processing loop with error count in summary - Narrow all catch clause types to unknown with proper instanceof narrowing Change-Id: I76975dbd5ebdb5645d18c5858c8a52fd6da3405e
33 lines
608 B
YAML
33 lines
608 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
cache: npm
|
|
|
|
- run: npm ci
|
|
|
|
- name: Build
|
|
run: npm run build
|
|
|
|
- name: Typecheck
|
|
run: npm run typecheck
|
|
|
|
- name: Test
|
|
run: node tests/main.test.js && node tests/generation-job-manager.test.js && node tests/modules.test.js && node tests/direct-modules.test.js
|
|
|
|
- name: Lint
|
|
run: npm run lint
|