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
16 changes: 8 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'weekly'
groups:
all:
patterns:
- '*'
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'weekly'
groups:
all:
patterns:
- '*'
55 changes: 0 additions & 55 deletions .github/scripts/detect_changes.sh

This file was deleted.

55 changes: 55 additions & 0 deletions .github/workflows/ci-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: CI for Docs

on:
pull_request:
branches: [main]
types: [opened, synchronize, reopened, ready_for_review]
paths:
- docs/**
push:
branches: [main]
paths:
- docs/**

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
ci:
runs-on: ubuntu-slim

steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Set up pnpm
uses: pnpm/action-setup@v4.2.0

- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: latest
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Build Docs
run: pnpm docs:build

- name: Setup Pages
if: github.event_name == 'push'
uses: actions/configure-pages@v5.0.0

- name: Upload artifact
if: github.event_name == 'push'
uses: actions/upload-pages-artifact@v4.0.0
with:
path: './docs/.vitepress/dist'

- name: Deploy to GitHub Pages
if: github.event_name == 'push'
uses: actions/deploy-pages@v4.0.5
82 changes: 0 additions & 82 deletions .github/workflows/ci-main.yml

This file was deleted.

52 changes: 0 additions & 52 deletions .github/workflows/ci-pr.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/ci-routine.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI for Routine Checks

on:
pull_request:
branches: [main]
types: [opened, synchronize, reopened, ready_for_review]
push:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
ci:
runs-on: ubuntu-slim

steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Set up pnpm
uses: pnpm/action-setup@v4.2.0

- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: latest
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Run checks
run: pnpm check

- name: Run test build
run: pnpm build
54 changes: 54 additions & 0 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: CI for Tests

on:
pull_request:
branches: [main]
types: [opened, synchronize, reopened, ready_for_review]
paths:
- src/**
- test/**
push:
branches: [main]
paths:
- src/**
- test/**

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
ci:
runs-on: ubuntu-slim

steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Set up pnpm
uses: pnpm/action-setup@v4.2.0

- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: latest
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Run tests (pull requests)
if: github.event_name == 'pull_request'
run: pnpm test

- name: Run coverage tests (push to main)
if: github.event_name == 'push'
run: pnpm test:coverage

- name: Upload coverage reports to Codecov (push to main)
if: github.event_name == 'push'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
Loading