add workflow
This commit is contained in:
1 parent
990aed9f2e
commit
1383d8b59a
4 files changed
+24
-1
No files matched your search
@@ -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
|
||||||
File renamed without changes.
File renamed without changes.
@@ -22,5 +22,5 @@
|
|||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"checkJs": false
|
"checkJs": false
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist", "**/*.config.js"]
|
"exclude": ["node_modules", "dist/", "**/*.config.js"]
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user