Skip to content

Merge pull request #34 from Post-Math/fix/plugin-review-findings #74

Merge pull request #34 from Post-Math/fix/plugin-review-findings

Merge pull request #34 from Post-Math/fix/plugin-review-findings #74

Workflow file for this run

name: CI
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
name: validate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: "20"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Lint (eslint-plugin-obsidianmd)
run: npm run lint
- name: Type-check & build (tsc --noEmit + esbuild)
run: npm run build
- name: Syntax-check bundled output
run: node --check main.js
- name: Validate manifest, versions & required files
run: node scripts/validate.mjs