running linter on GitHub actions
This commit is contained in:
parent
509842c0f0
commit
bf56cbe1bc
|
@ -29,3 +29,6 @@ indent_size = 4
|
|||
|
||||
[*.nsh]
|
||||
indent_size = 2
|
||||
|
||||
[{*.yml,*.yaml}]
|
||||
indent_size = 2
|
||||
|
|
|
@ -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
|
|
@ -1,7 +0,0 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- stable
|
||||
install:
|
||||
- npm install
|
||||
script:
|
||||
- npm run lint
|
Loading…
Reference in New Issue