1
0

Added linting

This commit is contained in:
2021-05-23 17:47:22 +02:00
parent eebc0e988a
commit 5d8345996a
6 changed files with 982 additions and 2 deletions

23
.github/workflows/node-ci.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 15.x
- run: npm ci
- run: npm run lint --if-present
- run: npm run build --if-present
- run: npm test