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
37 changes: 20 additions & 17 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: github-actions
directory: /
groups:
ci:
patterns:
- "*"
commit-message:
prefix: "ci"

- package-ecosystem: "npm"
directory: "/"
patterns: ["*"]
schedule:
interval: "monthly"
interval: cron
cronjob: "0 0 1 1,7 *"
cooldown:
default-days: 7

- package-ecosystem: npm
directory: /
groups:
dependencies:
patterns:
- "*"
commit-message:
prefix: "build"
npm:
patterns: ["*"]
security:
applies-to: security-updates
patterns: ["*"]
schedule:
interval: cron
cronjob: "0 0 1 1,7 *"
cooldown:
default-days: 7
30 changes: 0 additions & 30 deletions .github/workflows/build-and-deploy.yaml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: deploy

on:
workflow_call:

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Set up repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Set up Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24
cache: npm

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Publish to GitHub Pages
uses: crazy-max/ghaction-github-pages@1d6ee9b181a81033a16bd707a1401afa978daab4 # v5.0.0
with:
build_dir: dist/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
26 changes: 0 additions & 26 deletions .github/workflows/lint-and-format.yaml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: lint

on:
workflow_call:

permissions:
contents: read

jobs:
biome:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24
cache: npm

- name: Install Dependencies
run: npm ci

- name: Lint & Format
run: npm run check

compile:
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24
cache: npm

- name: Install Dependencies
run: npm ci

- name: Compile
run: npm run compile
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
7 changes: 5 additions & 2 deletions .github/workflows/on-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: on-pull-request
on:
pull_request:

permissions:
contents: read

jobs:
lint-and-format:
uses: ./.github/workflows/lint-and-format.yaml
lint:
uses: ./.github/workflows/lint.yaml
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
13 changes: 8 additions & 5 deletions .github/workflows/on-push-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ on:
branches:
- main

permissions:
contents: read

jobs:
lint-and-format:
uses: ./.github/workflows/lint-and-format.yaml
lint:
uses: ./.github/workflows/lint.yaml

build-and-deploy:
needs: lint-and-format
uses: ./.github/workflows/build-and-deploy.yaml
deploy:
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
needs: lint
uses: ./.github/workflows/deploy.yaml
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed