Skip to content

Commit 1589501

Browse files
committed
Add Github-ci
1 parent 37932f0 commit 1589501

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.github/workflows/build-ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: build-ci
2+
3+
on: [pull_request, push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Use Node.js
11+
uses: actions/setup-node@v3
12+
with:
13+
node-version: '16.x'
14+
- name: Install libraries
15+
run: npm install
16+
- name: Build all files
17+
run: npm run buildall
18+
continue-on-error: true
19+
- name: Check Failures
20+
if: ${{ failure() }}
21+
run: echo "Build failed"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
node_modules
33
.vscode
44
build
5+
server

0 commit comments

Comments
 (0)