feat: add light/dark mode to WalineInstance, remove giscus, Comment.tsx, and CarbonAds.tsx #10
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: Code Check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
concurrency: | |
group: ${{ github.job }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: ⬣ ESLint, ʦ TypeScript, and 💅 Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v2 | |
- name: 🤌 Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- name: 📥 Download deps | |
run: pnpm install --frozen-lockfile | |
- name: 🔬 Lint | |
run: pnpm run lint:strict | |
- name: 🔎 Type check | |
run: pnpm run typecheck | |
- name: 💅 Prettier check | |
run: pnpm run format:check |