diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 7467f929..2d7be8fd 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -14,7 +14,7 @@ on: - synchronize jobs: - build: + test: runs-on: ubuntu-20.04 strategy: matrix: @@ -35,3 +35,22 @@ jobs: run: pnpm i - name: Running code tests run: npx jest --testPathPattern=code + + lint: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 + with: + version: 8 + - name: Node + uses: actions/setup-node@v3 + with: + node-version: 20 + cache: 'pnpm' + - name: Set up .env + run: echo '${{ secrets.ENV_VARS }}' >> .env.local + - name: Install dependencies w/ setup + run: pnpm i + - name: lint + run: pnpm lint diff --git a/src/app/components/ui/skeleton.tsx b/src/app/components/ui/skeleton.tsx index 01b8b6d4..a626d9ba 100644 --- a/src/app/components/ui/skeleton.tsx +++ b/src/app/components/ui/skeleton.tsx @@ -1,4 +1,4 @@ -import { cn } from "@/lib/utils" +import { cn } from '@/lib/utils'; function Skeleton({ className, @@ -6,10 +6,10 @@ function Skeleton({ }: React.HTMLAttributes) { return (
- ) + ); } -export { Skeleton } +export { Skeleton };