Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes the typescript error #61

Merged
merged 2 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn check-typescript
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/WorkflowCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type WorkflowCardProps = {

const WorkflowCard = ({ workflow }: WorkflowCardProps) => {
return (
<RoundedDiv id={String(workflow.id)}>
<RoundedDiv>
<div className="sticky top-0 flex items-center justify-between rounded-t-lg border-b bg-white py-3.5 pl-4 pr-4 text-left text-lg font-medium leading-6 text-gray-900 sm:pl-6">
<div>{workflow.name}</div>
<div className="flex justify-center text-xs">
Expand Down
Loading