Skip to content

Commit

Permalink
Merge pull request #61 from Chaitanya1672/feat/addition-lint-file-git…
Browse files Browse the repository at this point in the history
…hub-workflow

Added lint.yml file for github workflow
  • Loading branch information
DhanushNehru authored Jun 3, 2024
2 parents e0b8784 + a2b4194 commit 78581fe
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Linting Check for commits

on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'

jobs:
Continuous-Integration:
name: Performs linting on the application
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'

- run: npm ci

- name: Run lint check
run: npm run lint

0 comments on commit 78581fe

Please sign in to comment.