ci: add build check for PRs

This commit is contained in:
Jake Turner 2026-03-25 20:41:53 +00:00
parent f9062616b8
commit edcfd937e2
No known key found for this signature in database
GPG Key ID: 6DCBBAE4FEAB53EB

25
.github/workflows/build-admin-on-pr.yml vendored Normal file
View File

@ -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