Skip to content

Commit

Permalink
ci: bun
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Oct 8, 2023
1 parent 9af6c7e commit 12eda2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: cp .env.sample .env.local

- name: Install modules
run: bun
run: bun install

- name: Check lint
run: bun lint
Expand Down
5 changes: 3 additions & 2 deletions app/[lang]/(home)/Hero/StatsUrlCards.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use client';

import type {ReactElement} from 'react';
import {CopyToClipboard} from 'react-copy-to-clipboard';
import {useSnackbar} from 'react-simple-snackbar';
import {track} from '@amplitude/analytics-browser';
Expand All @@ -27,7 +26,7 @@ export default function StatsUrlCard({
login,
svgStatsURL,
svgTrophiesURL,
}: Props): ReactElement {
}: Props): JSX.Element {
const router = useRouter();
const [openSnackbar] = useSnackbar();
const {login: authLogin} = useAuthContext();
Expand All @@ -43,6 +42,7 @@ export default function StatsUrlCard({
<div className="mb-[32px] self-stretch relative flex flex-col">
{/* Stats URL */}
<CopyToClipboard text={svgStatsURL}>
{/* @ts-ignore */}
<div className="bg-basic relative flex-1 p-4 flex flex-col flex-wrap mt-2 mb-3 rounded-md">
<div
className="
Expand All @@ -60,6 +60,7 @@ export default function StatsUrlCard({
{/* Trophies URL */}
{svgTrophiesURL ? (
<CopyToClipboard text={trophiesURL}>
{/* @ts-ignore */}
<div className="bg-basic relative flex-1 p-4 flex flex-col flex-wrap rounded-md">
<div
className="
Expand Down

1 comment on commit 12eda2f

@vercel
Copy link

@vercel vercel bot commented on 12eda2f Oct 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

github-stats – ./

github-stats-git-main-hyochan.vercel.app
github-stats-hyochan.vercel.app
stats.dooboo.io
stats.hyochan.dev

Please sign in to comment.