Skip to content

Commit

Permalink
Applied lint fixes, added PR lint step
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-Ross committed Dec 22, 2023
1 parent 5961786 commit 028a9c9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Npm Package
name: Publish npm Package

on:
release:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint PR

on:
pull_request:
branches:
- main

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: pnpm ci
- run: pnpm lint
2 changes: 1 addition & 1 deletion lib/components/SubMenuGroup/SubMenuGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const SubMenuGroup: React.FC<SubMenuGroupProps> = ({
}) => {
return (
<>
<div className="max-w-9xl mx-auto flex flex-col lg:flex-row">
<div className="mx-auto flex max-w-9xl flex-col lg:flex-row">
<div className="grid gap-x-4 p-4 lg:grow lg:grid-flow-col">
{menuColumns.map((column, i) => (
<div key={"column" + i} className="flex grow flex-col gap-y-4">
Expand Down

0 comments on commit 028a9c9

Please sign in to comment.