Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 35 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,50 @@ jobs:
runs-on: ubuntu-latest
env:
FIREBASE_EMULATORS_PATH: ${{ github.workspace }}/emulator-cache
CYPRESS_CACHE_FOLDER: ~/.cache/Cypress

steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
version: 10.13.1
run_install: false

- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'

- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'

- name: Determine pnpm store path
id: pnpm-store
run: echo "path=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT"

- name: Cache pnpm store
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-store.outputs.path }}
key: pnpm-store-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}
restore-keys: |
pnpm-store-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}-
pnpm-store-${{ runner.os }}-

- name: Cache Cypress binary
uses: actions/cache@v4
with:
path: ~/.cache/Cypress
key: cypress-binary-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}
restore-keys: |
cypress-binary-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}-
cypress-binary-${{ runner.os }}-

- run: pnpm install --frozen-lockfile # optional, --immutable

Expand All @@ -49,8 +77,9 @@ jobs:
uses: cypress-io/github-action@v4
with:
build: pnpm build
start: pnpm start
wait-on: 'http://localhost:8082, http://localhost:8081'
start: node .next/standalone/server.js
wait-on: 'http://localhost:8082, http://localhost:8081, http://localhost:3000'
install: false
env:
FIREBASE_PRIVATE_KEY: ${{ secrets.FIREBASE_PRIVATE_KEY }}
FIREBASE_CLIENT_EMAIL: ${{ secrets.FIREBASE_CLIENT_EMAIL }}
Expand Down
19 changes: 17 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"**/*.tsx",
"**/*.js",
"**/*.jsx",
"**/*.css",
"!**/*.min.js",
"!**/node_modules",
"!**/dist",
Expand All @@ -34,7 +35,16 @@
"linter": {
"enabled": true,
"rules": {
"recommended": true
"recommended": true,
"performance": {
"noImgElement": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
},
"correctness": {
"useExhaustiveDependencies": "warn"
}
}
},
"javascript": {
Expand All @@ -45,11 +55,16 @@
"trailingCommas": "es5"
}
},
"css": {
"parser": {
"tailwindDirectives": true
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "off"
"organizeImports": "on"
}
}
}
Expand Down
46 changes: 0 additions & 46 deletions components/blog/blogFooter.tsx

This file was deleted.

40 changes: 0 additions & 40 deletions components/blog/postFooter.tsx

This file was deleted.

134 changes: 0 additions & 134 deletions components/chart.tsx

This file was deleted.

62 changes: 0 additions & 62 deletions components/descriptionCards.tsx

This file was deleted.

Loading
Loading