Add Github-ci

This commit is contained in:
Luc
2023-10-03 13:58:25 +08:00
parent 37932f057c
commit 15895019f9
2 changed files with 22 additions and 0 deletions

21
.github/workflows/build-ci.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: build-ci
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: Install libraries
run: npm install
- name: Build all files
run: npm run buildall
continue-on-error: true
- name: Check Failures
if: ${{ failure() }}
run: echo "Build failed"

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@
node_modules
.vscode
build
server