Initial commit

This commit is contained in:
2025-12-20 15:41:03 +01:00
committed by GitHub
commit 9475478c17
19 changed files with 7109 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
name: CI
on: [push]
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install modules
run: bun ci
- name: Run ESLint
run: bun run lint
build:
runs-on: ubuntu-latest
needs: eslint
steps:
- uses: actions/checkout@v2
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install modules
run: bun ci
- name: Build site
run: bun run build
- name: Upload static files as artifact
uses: actions/upload-pages-artifact@v3
with:
path: dist/
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4