Skip to content

Commit

Permalink
Merge pull request #46 from mdPial/eslint-action-fix
Browse files Browse the repository at this point in the history
Update ESLint action setup
  • Loading branch information
anandbaburajan authored Mar 19, 2021
2 parents c9a855f + 3be6f8d commit 68a6403
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
name: Lint

on:
pull_request:
branches: [main]

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

0 comments on commit 68a6403

Please sign in to comment.