Create linting.yml

This commit is contained in:
GHOSCHT 2020-08-02 10:49:12 +02:00 committed by GitHub
parent 403f57c9b4
commit 920c514e2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,27 @@
name: Build
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