Skip to content

Commit

Permalink
🚕 ci: udpate the devops settings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyomansunima committed Nov 16, 2024
1 parent 81c06db commit f67f94c
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/beautify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
format:
name: Format Code
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout the code
uses: actions/checkout@v4
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,15 @@
name: Lighthouse

on:
push: ['main']
pull_request: ['main']
workflow_dispatch:
workflow_run:
workflows: ['Web Production']
types:
- completed
push:
branches: ['main']
pull_request:
branches: ['main']

jobs:
lighthouse:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/web-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,18 @@ env:
# and push the code into the main branch
on:
workflow_dispatch:
workflow_run:
workflows: ['Beautify Code']
types:
- completed
push:
branches: ['main']

jobs:
update:
name: Update Web App
runs-on: ubuntu-latest
depends
steps:
- name: Checkout the code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion src/features/journeys/components/experience-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function ExperienceItem({
>
{team}
</Link>
<div className="flex items-center gap-2">
<div className="flex flex-wrap items-center gap-2">
<span className="text-foreground/40 transition-all duration-300 group-hover:text-foreground">
{position}
</span>
Expand Down
2 changes: 1 addition & 1 deletion src/features/stories/components/publication.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function PublicationSection(): React.ReactElement {
<section className="flex flex-col gap-4">
<h3 className="text-lg font-medium">Publications:</h3>

<div className="grid grid-cols-1 tablet:grid-cols-3 gap-2 w-full">
<div className="grid grid-cols-2 tablet:grid-cols-3 gap-2 w-full">
{publications.map((pub, index) => (
<PublicationItem publication={pub} key={index} />
))}
Expand Down
2 changes: 1 addition & 1 deletion src/features/stories/components/recent-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function RecentItem({ recent }: RecentItemProps): React.ReactElement {
<Link
href={url}
target="_blank"
className="flex items-center flex-col tablet:flex-row px-4 py-3 gap-2 rounded-2xl bg-ambient border border-border transition-all duration-300 hover:-translate-y-1 group"
className="flex items-start tablet:items-center flex-col tablet:flex-row px-4 py-3 gap-2 rounded-2xl bg-ambient border border-border transition-all duration-300 hover:-translate-y-1 group"
>
<h3 className="text-sm font-medium text-pretty !leading-tight line-clamp-1 flex-grow">
{title}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function MenuItem({
return (
<li
className={`${mergeClass(
'flex items-center justify-center text-sm px-2 py-1 rounded-xl bg-transparent transition-all hover:-translate-y-1 hover:text-foreground/60 duration-300',
'flex items-center justify-center text-sm p-1 rounded-xl bg-transparent transition-all hover:-translate-y-1 hover:text-foreground/60 duration-300',
className,
)}`}
>
Expand Down

0 comments on commit f67f94c

Please sign in to comment.