Skip to content

Commit

Permalink
🔧 Remove lint-staged commnand from github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sankaSanjeeva committed Sep 14, 2024
1 parent 22038ba commit 0cfea17
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: List staged files
run: git diff --name-only --cached

- name: Set up Node.js
uses: actions/setup-node@v3
Expand All @@ -26,5 +21,11 @@ jobs:
- name: Install dependencies
run: yarn install

- name: Run lint-staged for ESLint, Vitest and TypeScript checks
run: npx lint-staged
- name: Run TypeScript check
run: npx tsc -p tsconfig.json --noEmit

- name: Run ESLint
run: yarn eslint src/**/*.{js,ts,tsx}

- name: Execute Unit tests
run: yarn vitest

0 comments on commit 0cfea17

Please sign in to comment.