Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ13th committed Dec 29, 2023
2 parents 4e71805 + 5fabbb5 commit 4d7affb
Show file tree
Hide file tree
Showing 5 changed files with 1,904 additions and 9,591 deletions.
66 changes: 66 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Portal CI

on:
push:
branches: ["**"]

workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3

- name: Install Node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc

- name: Install pnpm
run: |
npm install --global pnpm
- name: Dependency cache
uses: actions/cache@v3
with:
path: "node_modules"
key: ${{ runner.os }}-portal-v1-${{ hashFiles('pnpm-lock.yaml') }}

- name: Install
run: pnpm install

- name: Lint
run: pnpm run lint

build:
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3

- name: Install Node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc

- name: Install pnpm
run: |
npm install --global pnpm
- name: Dependency cache
uses: actions/cache@v3
with:
path: "node_modules"
key: ${{ runner.os }}-portal-v1-${{ hashFiles('pnpm-lock.yaml') }}

- name: Install
run: pnpm install

- name: Build
run: pnpm run build
env:
NOTION_API_KEY: ${{ secrets.NOTION_API_KEY }}
REPO_LIST_DB_ID: ${{ secrets.REPO_LIST_DB_ID }}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18.19.0
2 changes: 1 addition & 1 deletion components/icons.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
import { IconSvgProps } from "@/types";
import { IconSvgProps } from "../types/index";

export const Logo: React.FC<IconSvgProps> = ({
size = 36,
Expand Down
Loading

0 comments on commit 4d7affb

Please sign in to comment.