Skip to content

Commit

Permalink
Merge pull request #109 from aysp-99/github-action
Browse files Browse the repository at this point in the history
Added Github action that runs eslint on pull request
  • Loading branch information
anandbaburajan authored Mar 20, 2021
2 parents 389b391 + fbea0d0 commit 6ac3273
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Lint
on:
pull_request:
branches: [main]
jobs:
eslint:
name: eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: install node v12
uses: actions/setup-node@v1
with:
node-version: 12
- name: yarn install
run: yarn install
- name: eslint
uses: icrawl/action-eslint@v1
with:
custom-glob: "**/*.{ts,tsx}"

0 comments on commit 6ac3273

Please sign in to comment.