Skip to content

Commit

Permalink
Add CI with GH-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bijij authored Oct 15, 2019
1 parent b44d15d commit dabb641
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Setup node
uses: actions/setup-node@v1
with:
version: 8
- name: Install deps
run: |
npm install eslint
npm install eslint-plugin-json
- name: Lint with ESLint
run: |
node ./node_modules/eslint/bin/eslint --ext .json --ext.js ./

0 comments on commit dabb641

Please sign in to comment.