33 lines
721 B
YAML
33 lines
721 B
YAML
# name of your github action
|
|
name: CI
|
|
# this will help you specify where to run
|
|
on:
|
|
push:
|
|
branches:
|
|
# this will run on the electron branch
|
|
- develop
|
|
# this is where the magic happens, each job happens in parallel btw
|
|
jobs:
|
|
build_on_mac:
|
|
runs-on: macOS-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
with:
|
|
ref: develop
|
|
- uses: actions/setup-node@master
|
|
with:
|
|
node-version: 16
|
|
- name: see directory
|
|
run: ls
|
|
|
|
build_on_win:
|
|
runs-on: windows-2016
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
with:
|
|
ref: develop
|
|
- uses: actions/setup-node@master
|
|
with:
|
|
node-version: 16
|
|
- name: see directory
|
|
run: ls |