Skip to content

Commit

Permalink
ci(actions): lint, codeowners
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubinquitous committed Mar 6, 2024
1 parent 52288d9 commit 1c8db01
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 17 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @ubinquitous @5ewon @jyh071116
31 changes: 15 additions & 16 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ jobs:
strategy:
matrix:
node-version: [18.x]
env:
# NEXT_PUBLIC_BASE_URL: ${{ secrets.NEXT_PUBLIC_BASE_URL }}
# NEXT_PUBLIC_FILE_SERVER_URL: ${{ secrets.NEXT_PUBLIC_FILE_SERVER_URL }}
# NEXT_PUBLIC_TEST_DOMAIN_KEYWORD: ${{ secrets.NEXT_PUBLIC_TEST_DOMAIN_KEYWORD }}
# NEXT_PUBLIC_MAIN_DOMAIN_KEYWORD: ${{ secrets.NEXT_PUBLIC_MAIN_DOMAIN_KEYWORD }}
# NEXT_PUBLIC_DOMAIN: ${{ secrets.NEXT_PUBLIC_DOMAIN }}
# NEXT_PUBLIC_TEST_DOMAIN: ${{ secrets.NEXT_PUBLIC_TEST_DOMAIN }}
# NEXT_PUBLIC_AUTH_DOMAIN: ${{ secrets.NEXT_PUBLIC_AUTH_DOMAIN }}
# NEXT_PUBLIC_OAUTH_URL: ${{ secrets.NEXT_PUBLIC_OAUTH_URL }}
# NEXT_PUBLIC_GA_TRACKING_ID: ${{ secrets.NEXT_PUBLIC_GA_TRACKING_ID }}
# NEXT_PUBLIC_BANNER_BASE_PATH: ${{ secrets.NEXT_PUBLIC_BANNER_BASE_PATH }}
# NEXT_PUBLIC_DEFAULT_BACKGROUND_IMAGE_URL: ${{ secrets.NEXT_PUBLIC_DEFAULT_BACKGROUND_IMAGE_URL }}
# NEXT_PUBLIC_DEFAULT_USER_IMAGE: ${{ secrets.NEXT_PUBLIC_DEFAULT_USER_IMAGE }}
# NEXT_PUBLIC_USER_IMAGE_URL: ${{ secrets.NEXT_PUBLIC_USER_IMAGE_URL }}
# env:
# NEXT_PUBLIC_BASE_URL: ${{ secrets.NEXT_PUBLIC_BASE_URL }}
# NEXT_PUBLIC_FILE_SERVER_URL: ${{ secrets.NEXT_PUBLIC_FILE_SERVER_URL }}
# NEXT_PUBLIC_TEST_DOMAIN_KEYWORD: ${{ secrets.NEXT_PUBLIC_TEST_DOMAIN_KEYWORD }}
# NEXT_PUBLIC_MAIN_DOMAIN_KEYWORD: ${{ secrets.NEXT_PUBLIC_MAIN_DOMAIN_KEYWORD }}
# NEXT_PUBLIC_DOMAIN: ${{ secrets.NEXT_PUBLIC_DOMAIN }}
# NEXT_PUBLIC_TEST_DOMAIN: ${{ secrets.NEXT_PUBLIC_TEST_DOMAIN }}
# NEXT_PUBLIC_AUTH_DOMAIN: ${{ secrets.NEXT_PUBLIC_AUTH_DOMAIN }}
# NEXT_PUBLIC_OAUTH_URL: ${{ secrets.NEXT_PUBLIC_OAUTH_URL }}
# NEXT_PUBLIC_GA_TRACKING_ID: ${{ secrets.NEXT_PUBLIC_GA_TRACKING_ID }}
# NEXT_PUBLIC_BANNER_BASE_PATH: ${{ secrets.NEXT_PUBLIC_BANNER_BASE_PATH }}
# NEXT_PUBLIC_DEFAULT_BACKGROUND_IMAGE_URL: ${{ secrets.NEXT_PUBLIC_DEFAULT_BACKGROUND_IMAGE_URL }}
# NEXT_PUBLIC_DEFAULT_USER_IMAGE: ${{ secrets.NEXT_PUBLIC_DEFAULT_USER_IMAGE }}
# NEXT_PUBLIC_USER_IMAGE_URL: ${{ secrets.NEXT_PUBLIC_USER_IMAGE_URL }}

steps:
- uses: actions/checkout@v3
Expand All @@ -35,8 +35,7 @@ jobs:
cache: pnpm install

- name: create env file
run: |
touch .env
run: touch .env

- run: pnpm
- run: pnpm build
Expand Down
4 changes: 3 additions & 1 deletion components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ const Header = () => {
return (
<div className={styles.container}>
<ul className={styles.navigationList}>
<Logo />
<i className={styles.logo}>
<Logo />
</i>
{navigationList.map((nav) => (
<Link href={nav.href} className={styles.navigationItem}>
{nav.icon}
Expand Down
4 changes: 4 additions & 0 deletions components/Header/style.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ export const searchButton = style({
right: "12px",
cursor: "pointer",
});

export const logo = style({
cursor: "pointer",
});

0 comments on commit 1c8db01

Please sign in to comment.