Skip to content

Commit

Permalink
🔧 Add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sankaSanjeeva committed Sep 7, 2024
1 parent 00ad4ad commit e8c4d2b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Lint and TypeScript Checks

on:
push:
branches:
- '**'

jobs:
lint:
runs-on: ubuntu-latest

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

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

- name: Install dependencies
run: yarn install

- name: Run lint-staged for ESLint and TypeScript checks
run: npx lint-staged

0 comments on commit e8c4d2b

Please sign in to comment.