Skip to content

Commit

Permalink
Update the CI to block merged when linting has errors
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwooding committed Jul 11, 2024
1 parent 7ea886e commit 9542e00
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 15 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
- name: Install dependencies
run: yarn
- name: Lint
# Continue on error so, we can see lint issues but not fail the build, we should fix them incrementally
continue-on-error: true
run: yarn biome ci --reporter=github
- name: Prettier
run: yarn run prettier:ci
Expand Down
4 changes: 1 addition & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,5 @@
"scripts": {
"bundle:css": "yarn node ./scripts/build.mjs"
},
"files": [
"css"
]
"files": ["css"]
}
2 changes: 1 addition & 1 deletion packages/core/stories/menu/menu.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export const IconWithGroups: StoryFn<typeof Menu> = (args) => {

export const ContextMenu: StoryFn = () => {
const [virtualElement, setVirtualElement] = useState<VirtualElement | null>(
null
null,
);
const [open, setOpen] = useState(false);
return (
Expand Down
4 changes: 1 addition & 3 deletions packages/lab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,5 @@
"scripts": {
"bundle:css": "yarn node ./scripts/build.mjs"
},
"files": [
"css"
]
"files": ["css"]
}
24 changes: 18 additions & 6 deletions packages/lab/stories/kitchen-sink/kitchen-sink.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,24 @@ export const Example1 = () => {
<NotificationIcon />
<NotificationSolidIcon />
<Link href="#">Link</Link>
<Link href="#" color="secondary">Link</Link>
<Link href="#" color="info">Link</Link>
<Link href="#" color="success">Link</Link>
<Link href="#" color="warning">Link</Link>
<Link href="#" color="error">Link</Link>
<Link href="#" target="_blank">Link</Link>
<Link href="#" color="secondary">
Link
</Link>
<Link href="#" color="info">
Link
</Link>
<Link href="#" color="success">
Link
</Link>
<Link href="#" color="warning">
Link
</Link>
<Link href="#" color="error">
Link
</Link>
<Link href="#" target="_blank">
Link
</Link>
<Link href="#" target="_blank" color="secondary">
Link
</Link>
Expand Down

0 comments on commit 9542e00

Please sign in to comment.