From e77cd6f903ae255ce0d13bbc378b99e45f187438 Mon Sep 17 00:00:00 2001 From: Sanka Date: Sat, 14 Sep 2024 23:11:53 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Update=20github=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index be23a79..51f6411 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,11 +21,11 @@ jobs: - name: Install dependencies run: yarn install - - name: Run TypeScript check - run: npx tsc -p tsconfig.json --noEmit + - name: Run TypeScript check and Build + run: yarn build - name: Run ESLint - run: yarn eslint src/**/*.{js,ts,tsx} + run: yarn lint - name: Execute Unit tests - run: yarn vitest + run: yarn test diff --git a/package.json b/package.json index 6b69dda..57b6e15 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "test": "vitest", "test:coverage": "vitest run --coverage", "test:ui": "vitest --ui", - "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", + "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview", "prepare": "husky" },