diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 777a915..869009c 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -1,6 +1,6 @@ name: npm run format -on: [push, workflow_dispatch] +on: [pull_request, workflow_dispatch] jobs: style: diff --git a/src/app/author/page.tsx b/src/app/author/page.tsx index 1939dc6..9d11a7b 100644 --- a/src/app/author/page.tsx +++ b/src/app/author/page.tsx @@ -1,10 +1,10 @@ -import { authors, affiliations } from '@/app/db/data' -import { notFound } from 'next/navigation' +import { affiliations, authors } from '@/app/db/data' +import cardEffects from '@/app/styles/cardEffects.module.css' import { Zilla_Slab } from 'next/font/google' -import { Fragment } from 'react' import Image from 'next/image' import Link from 'next/link' -import cardEffects from '@/app/styles/cardEffects.module.css' +import { notFound } from 'next/navigation' +import { Fragment } from 'react' const zillaSlab = Zilla_Slab({ subsets: ['latin'], weight: ['500'] }) diff --git a/src/app/document/page.tsx b/src/app/document/page.tsx index 62efae8..b5583aa 100644 --- a/src/app/document/page.tsx +++ b/src/app/document/page.tsx @@ -1,6 +1,6 @@ import { documents } from '@/app/db/data' -import { notFound } from 'next/navigation' import { Zilla_Slab } from 'next/font/google' +import { notFound } from 'next/navigation' import { Fragment } from 'react' import DocumentCard from '../components/DocumentCard'