add GitHub Actions

This commit is contained in:
Konstantin Vyatkin
2020-06-11 00:01:56 -04:00
parent 71600df374
commit ecdabc9879
2 changed files with 76 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
name: CI
on:
pull_request:
paths:
- "**.js"
- "**eslint**"
- "package.json"
- ".github/workflows/lint.yml"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2-beta
with:
node-version: 14
- run: npm install
- run: npm run lint