running linter on GitHub actions

This commit is contained in:
antelle 2020-11-28 12:37:42 +01:00
parent 509842c0f0
commit bf56cbe1bc
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
3 changed files with 16 additions and 7 deletions

View File

@ -29,3 +29,6 @@ indent_size = 4
[*.nsh]
indent_size = 2
[{*.yml,*.yaml}]
indent_size = 2

13
.github/workflows/lint.yaml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Deploy
on: [push, pull_request]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install npm
run: npm ci
- name: Lint
run: npm run lint

View File

@ -1,7 +0,0 @@
language: node_js
node_js:
- stable
install:
- npm install
script:
- npm run lint