mirror of
https://github.com/luc-github/ESP3D-WEBUI.git
synced 2026-02-19 17:01:20 +01:00
Add Github-ci
This commit is contained in:
21
.github/workflows/build-ci.yml
vendored
Normal file
21
.github/workflows/build-ci.yml
vendored
Normal 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
1
.gitignore
vendored
@@ -2,3 +2,4 @@
|
||||
node_modules
|
||||
.vscode
|
||||
build
|
||||
server
|
||||
|
||||
Reference in New Issue
Block a user