Skip to content

Commit

Permalink
Add linting gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
Thavarshan committed Sep 15, 2024
1 parent ea53388 commit 521dc78
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Lint

on:
push:
branches:
- main
- release
- feature/*
pull_request:
branches:
- main
- release
- feature/*

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

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

- name: Install dependencies
run: npm install

- name: Lint app
run: npm run lint

0 comments on commit 521dc78

Please sign in to comment.