Skip to content

Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.

TypeScript

ci: add build check for PRs

Jake Turneredcfd937e2f2
diff --git a/.github/workflows/build-admin-on-pr.yml b/.github/workflows/build-admin-on-pr.yml
new file mode 100644
index 00000000..3afa65fc
--- /dev/null
+++ b/.github/workflows/build-admin-on-pr.yml
@@ -0,0 +1,25 @@
+name: Build Admin
+
+on: pull_request
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v6
+
+ - name: Set up Node.js
+ uses: actions/setup-node@v6
+ with:
+ node-version: '24'
+ cache: 'npm'
+
+ - name: Install dependencies
+ run: npm ci
+ working-directory: ./admin
+
+ - name: Run build
+ run: npm run build
+ working-directory: ./admin
\ No newline at end of file