Skip to content

Commit

Permalink
Merge pull request #41 from mdPial/37-github-action-setup-for-eslint-…
Browse files Browse the repository at this point in the history
…errors

Add ESLint errors checker action setup for PRs
  • Loading branch information
anandbaburajan authored Mar 16, 2021
2 parents d5c5cc7 + afce1d8 commit c9a855f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Lint
on:
pull_request:
branches: [main]

jobs:
eslint:
name: eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: install node v14
uses: actions/setup-node@v1
with:
node-version: "14.15.1"
- name: yarn install
run: yarn install
- name: eslint
uses: icrawl/action-eslint@v1

0 comments on commit c9a855f

Please sign in to comment.