diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 61cc08e..88ee064 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -11,11 +11,13 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version-file: '.nvmrc' - cache: 'yarn' + node-version-file: ".nvmrc" + cache: "yarn" - name: Run yarn install run: yarn install - name: copy .env-example to .env run: cp .env-example .env - name: Run yarn lint run: yarn lint + - name: Check typescript + run: yarn check-typescript diff --git a/.husky/pre-push b/.husky/pre-push index 64778a1..c678d20 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,3 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" +yarn check-typescript diff --git a/package.json b/package.json index 8e6be74..55592ba 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "lint": "next lint", "start": "next start", "studio": "prisma studio", - "prepare": "husky install", + "install-git-hooks": "husky install", "detect-circular-imports": "madge --circular src/", "run-cron": "node ./cron.mjs" }, diff --git a/src/components/WorkflowCard.tsx b/src/components/WorkflowCard.tsx index b9687f2..7926c1d 100644 --- a/src/components/WorkflowCard.tsx +++ b/src/components/WorkflowCard.tsx @@ -13,7 +13,7 @@ type WorkflowCardProps = { const WorkflowCard = ({ workflow }: WorkflowCardProps) => { return ( - +
{workflow.name}