mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2025-12-30 22:29:37 -06:00
add workflow
This commit is contained in:
23
.github/workflows/check-build.yml
vendored
Normal file
23
.github/workflows/check-build.yml
vendored
Normal 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
|
||||
@@ -22,5 +22,5 @@
|
||||
"allowJs": true,
|
||||
"checkJs": false
|
||||
},
|
||||
"exclude": ["node_modules", "dist", "**/*.config.js"]
|
||||
"exclude": ["node_modules", "dist/", "**/*.config.js"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user