Merge branch 'master' of https://github.com/GHOSCHT/desk-light-control
This commit is contained in:
commit
2b5a3cdde4
2 changed files with 46 additions and 0 deletions
19
.github/workflows/arduinoBuild.yml
vendored
Normal file
19
.github/workflows/arduinoBuild.yml
vendored
Normal 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
27
.github/workflows/linting.yml
vendored
Normal 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
|
Reference in a new issue