add workflow

This commit is contained in:
Alex Holliday
2025-09-23 14:12:17 -07:00
parent 990aed9f2e
commit 1383d8b59a
4 changed files with 24 additions and 1 deletions

23
.github/workflows/check-build.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: Build Check ( Server)
on:
pull_request:
workflow_dispatch:
jobs:
build-server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install server dependencies
working-directory: server
run: npm install
- name: Check server build
working-directory: server
run: npm run build

View File

@@ -22,5 +22,5 @@
"allowJs": true,
"checkJs": false
},
"exclude": ["node_modules", "dist", "**/*.config.js"]
"exclude": ["node_modules", "dist/", "**/*.config.js"]
}