🎨 Add light/dark theme + custom theme switcher & update UI components… #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ⚙️ Check | |
on: | |
push: | |
branches: | |
- main | |
- next | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
typecheck: | |
name: Typecheck | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: library | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Setup pnpm 9 | |
uses: pnpm/action-setup@v4 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run typecheck | |
run: pnpm run typecheck | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Setup pnpm 9 | |
uses: pnpm/action-setup@v4 | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Build Website | |
run: pnpm run build:website | |
- name: Build Library | |
run: pnpm run build:library |