Skip to content
Merged
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
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,14 @@
node_modules
.next
out
dist
.astro
.vscode
README.md
ASTRO_MIGRATION_PLAN.md
compose.yaml
tests
playwright.config.ts
test-results
playwright-report
.github
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 2

updates:
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 5

- package-ecosystem: docker
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 5

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 5
68 changes: 68 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: CI

on:
push:
branches:
- master
- migrate/astro
pull_request:

permissions:
contents: read

jobs:
quality:
name: Check, lint, build, SEO
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.4.4

- name: Install dependencies
run: bun install --frozen-lockfile

- name: Astro diagnostics
run: bun run check

- name: Lint
run: bun run lint

- name: Build
run: bun run build

- name: SEO and link audit
run: bun run check:seo

- name: Validate Docker build
run: docker build .

e2e:
name: Playwright smoke tests
runs-on: ubuntu-latest
needs: quality
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.4.4

- name: Install dependencies
run: bun install --frozen-lockfile

- name: Install Playwright browser
run: bunx playwright install --with-deps chromium

- name: Run smoke tests
run: bun run test:e2e

- name: Stop containers
if: always()
run: docker compose down
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@

# testing
/coverage
/test-results/
/playwright-report/
/blob-report/

# next.js
/.next/
/out/

# astro
/.astro/
/dist/

# production
Expand All @@ -32,4 +38,4 @@ yarn-error.log*
.env.production.local

# vercel
.vercel
.vercel
14 changes: 11 additions & 3 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,16 @@
"version": "2.0.0",
"tasks": [
{
"label": "serve",
"command": "bundle exec jekyll serve"
"label": "dev",
"type": "shell",
"command": "bun run dev",
"problemMatcher": []
},
{
"label": "build",
"type": "shell",
"command": "bun run build",
"problemMatcher": []
}
]
}
}
Loading
Loading