Skip to content

Commit

Permalink
implements github action for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbch committed Oct 6, 2019
1 parent 9a29b46 commit 35962d5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Linting

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install
npm run lint
env:
CI: true

0 comments on commit 35962d5

Please sign in to comment.