Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicataldo committed Jul 3, 2020
1 parent c21d51d commit 029a16d
Show file tree
Hide file tree
Showing 6 changed files with 1,051 additions and 16 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!.eslintrc.js
18 changes: 18 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"use strict";

module.exports = {
root: true,
extends: [
"eslint"
],
parserOptions: {
ecmaVersion: 8
},
env: {
node: true,
es6: true
},
rules: {
"no-console": "off"
}
};
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint:
name: Lint Files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install dependencies
run: npm install
- name: Lint Files
run: npm run lint
Loading

0 comments on commit 029a16d

Please sign in to comment.