Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

chore: add PR check action

Smaug673947b48b0e5c35
diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml
new file mode 100644
index 00000000..8d2de03c
--- /dev/null
+++ b/.github/workflows/pr-check.yml
@@ -0,0 +1,37 @@
+name: Frontend Linters
+
+on:
+ pull_request:
+ paths:
+ - "frontend/**"
+
+jobs:
+ lint:
+ runs-on: ubuntu-latest
+
+ defaults:
+ run:
+ working-directory: frontend
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v7
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v7
+ with:
+ node-version: "24"
+ cache: "npm"
+ cache-dependency-path: frontend/package-lock.json
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Run ESLint
+ run: npm run lint
+
+ - name: Run Stylelint (CSS)
+ run: npm run lint:css
+
+ - name: Run Typecheck
+ run: npm run typecheck