Use github actions instead of travis

This commit is contained in:
Dragon Fire
2020-05-19 20:56:23 -04:00
parent 65ae1446a8
commit 66cda5760b
2 changed files with 20 additions and 5 deletions
+20
View File
@@ -0,0 +1,20 @@
name: Lint
on: [push, pull_request]
jobs:
lint:
name: ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Node v14
uses: actions/setup-node@v1
with:
node-version: 14
- name: Install dependencies
run: npm install -g eslint@7 && eslint-config-amber eslint-plugin-json
- name: Run ESLint
run: npm test