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
26 changes: 22 additions & 4 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
out
node_modules
.source
.next
# Version control, CI, and editor metadata
.git/
.github/
.idea/
.vscode/
.DS_Store

# Local dependencies and generated build output
/node_modules/
.source/
.next/
out/
*.tsbuildinfo
next-env.d.ts

# Local configuration and npm logs
.env*
npm-debug.log*

# Repository documentation is not a build input
README.md
license.md
21 changes: 20 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,32 @@ name: Build and deploy
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
validate:
name: Validate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: package-lock.json
- run: npm ci
- run: npm run lint
- run: npm run types:check
- run: npm run build

build-and-deploy:
if: github.event_name == 'push'
needs: validate
permissions:
contents: read
packages: write
uses: itsektionen/andesite/.github/workflows/v1.yml@main
secrets: inherit
with:
deploy-dir: docs
deploy-dir: docs
36 changes: 14 additions & 22 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
# deps
/node_modules
# Dependencies
/node_modules/

# generated content
.source

# test & build
/coverage
# Generated content and build output
/.source/
/.next/
/out/
/build
/build/
/coverage/
*.tsbuildinfo
next-env.d.ts

# misc
.DS_Store
*.pem
/.pnp
.pnp.js
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# others
# Local configuration
.env*.local
.vercel
next-env.d.ts

# package managers
pnpm-lock.yaml
# Runtime logs
npm-debug.log*

# Tooling and operating system files
.DS_Store
*.pem
11 changes: 11 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Dependencies and generated output
node_modules/
.source/
.next/
out/
*.tsbuildinfo
next-env.d.ts

# Local files and editor metadata
.idea/
.DS_Store
1 change: 0 additions & 1 deletion dockerfile → Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

FROM node:22-alpine AS build
# Git is needed for last changed
# libc6-compat, see: https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine
Expand Down
1 change: 0 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const withMDX = createMDX();
/** @type {import('next').NextConfig} */
const config = {
output: "export",
reactStrictMode: true,
images: {
unoptimized: true,
remotePatterns: [
Expand Down
Loading
Loading