Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
f9fdbc4
feat(api): add TypeScript interfaces for API responses and forum events
OchiengPaul442 Jul 6, 2026
a59ecdc
refactor(ui): simplify layout and styling in ContactPage, layout, and…
OchiengPaul442 Jul 6, 2026
30baf60
feat(blog): enhance BlogDetailPage and BlogsPage with improved layout…
OchiengPaul442 Jul 6, 2026
3118b2a
refactor(blogs): improve BlogCard and BlogCardSkeleton components for…
OchiengPaul442 Jul 7, 2026
7c76260
refactor(ui): enhance styling and layout across FrameworkTabs, StatCa…
OchiengPaul442 Jul 7, 2026
ecd381e
refactor(ui): update styling for CustomButton, IconsPackagePage, and …
OchiengPaul442 Jul 7, 2026
330a6b1
refactor(ui): update layout and styling in BlogDetailPage and AirQoDe…
OchiengPaul442 Jul 7, 2026
402364a
refactor(ui): update tab links in TabNavigation component for consist…
OchiengPaul442 Jul 7, 2026
e82c417
Add unit tests for API routes, base API service, and Redux slices
OchiengPaul442 Jul 7, 2026
ccedf45
refactor(ui): update font styles in FloatingMiniBillboard and AirQual…
OchiengPaul442 Jul 7, 2026
d01ff94
fix(readme): remove unnecessary flag from codecov badge URL
OchiengPaul442 Jul 7, 2026
0b1c7aa
refactor(ui): adjust spacing in BlogDetailPage content styles for imp…
OchiengPaul442 Jul 7, 2026
4c1f0b1
refactor(ui): simplify structure of content rendering in BlogDetailPage
OchiengPaul442 Jul 7, 2026
a20a662
refactor(tests): streamline localStorage mock calls in cookieConsent …
OchiengPaul442 Jul 7, 2026
bc5a4f7
refactor(ui): restructure Footer component for improved layout and ma…
OchiengPaul442 Jul 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
60 changes: 60 additions & 0 deletions .github/workflows/website-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: website-ci

on:
pull_request:
branches:
- staging
- main
paths:
- "src/website/**"
- ".github/workflows/website-ci.yml"
push:
branches:
- staging
paths:
- "src/website/**"
- ".github/workflows/website-ci.yml"

permissions:
contents: read

jobs:
check-website:
name: check-website
runs-on: ubuntu-latest
defaults:
run:
working-directory: src/website
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false

- name: Setup Node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
with:
node-version: "20"
cache: "npm"
cache-dependency-path: src/website/package-lock.json

- name: Install dependencies
run: npm ci

- name: Lint
run: npm run lint

- name: Type Check
run: npx tsc --noEmit

- name: Unit Tests & Coverage
run: npm run test:coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
continue-on-error: true
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: src/website/coverage/
flags: website
fail_ci_if_error: false
35 changes: 35 additions & 0 deletions .github/workflows/website-codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: website-codecov

on:
workflow_call:
inputs:
coverage-directory:
description: "Path to coverage directory"
required: false
type: string
default: "src/website/coverage/"
flag:
description: "Codecov flag name"
required: false
type: string
default: "website"
secrets:
CODECOV_TOKEN:
required: true

permissions:
contents: read

jobs:
upload-coverage:
name: Upload Website Coverage
runs-on: ubuntu-latest
steps:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
continue-on-error: true
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ${{ inputs.coverage-directory }}
flags: ${{ inputs.flag }}
fail_ci_if_error: false
4 changes: 4 additions & 0 deletions src/website/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

# testing
/coverage
/e2e/screenshots
/e2e/reports
/e2e/dist
mochawesome-report/

# next.js
/.next/
Expand Down
Loading
Loading