From 12ca81cd686762e59312a2b8815dbf75b0c9d7b7 Mon Sep 17 00:00:00 2001 From: Team 1280 Programming Laptop <59985235+Team1280Programming@users.noreply.github.com> Date: Mon, 19 Feb 2024 13:28:46 -0800 Subject: [PATCH] Only style on pull request (#25) Co-authored-by: GitButler Co-authored-by: Team1280Programming --- .github/workflows/style.yml | 2 +- src/app/author/page.tsx | 8 ++++---- src/app/document/page.tsx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) 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'