diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml new file mode 100644 index 0000000..ec88055 --- /dev/null +++ b/.github/workflows/eslint.yml @@ -0,0 +1,13 @@ +name: Linter +on: [push, pull_request] + +jobs: + eslint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2-beta + with: + node-version: '12' + - run: npm ci + - run: ./node_modules/.bin/eslint -c ./.eslintrc.json -f compact *.js