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
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 5
labels:
- "dependencies"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 5
labels:
- "dependencies"
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

Comment on lines +1 to +12
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider explicitly setting minimal permissions for the workflow/job (e.g., contents: read) since this CI only checks out code and runs builds. Relying on the repo default token permissions can unintentionally grant more access than needed.

Copilot uses AI. Check for mistakes.
jobs:
build:
name: Build & Typecheck
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: "20"
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actions/setup-node supports built-in dependency caching (cache: 'npm' with cache-dependency-path: package-lock.json). Enabling it can significantly reduce CI runtime and network usage on repeated runs.

Suggested change
node-version: "20"
node-version: "20"
cache: 'npm'
cache-dependency-path: package-lock.json

Copilot uses AI. Check for mistakes.

- name: Install dependencies
run: npm ci

- name: Typecheck
run: npx tsc --noEmit

- name: Build
run: npm run build
Loading