This commit is contained in:
GHOSCHT 2020-08-02 10:56:13 +02:00
commit 2b5a3cdde4
2 changed files with 46 additions and 0 deletions

19
.github/workflows/arduinoBuild.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: Arduino Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run arduino-builder
uses: Legion2/arduino-builder-action@v2.0.0
with:
sketch: ./Arduino/ArduinoRelayControl.ino

27
.github/workflows/linting.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Lint
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: cd Dashboard && yarn --network-timeout 1000000000
- name: Lint
run: cd Dashboard && yarn lint