Create build.yml

This commit is contained in:
smartfridge 2021-05-01 15:59:44 +02:00 committed by GitHub
parent ee367eebca
commit 79e786a562
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