Create build.yml

This commit is contained in:
smartfridge 2021-05-06 20:47:19 +02:00 committed by GitHub
parent ce7699bb4c
commit 5eae5a314b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

39
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,39 @@
name: Build
on: [push, pull_request]
jobs:
build_on_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 14
- name: install dependencies
run: npm install
- name: build
run: npm run make
build_on_mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 14
- name: install dependencies
run: npm install
- name: build
run: npm run make
build_on_win:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 14
- name: install dependencies
run: npm install
- name: build
run: npm run make