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
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
pull_request:
branches: [main]

permissions:
contents: read

jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7

- uses: actions/setup-node@v7
with:
node-version: 24
cache: npm

- run: npm ci
- run: npm run lint
- run: npm run validate-regions
- run: npm run build

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Run the new Node test suite in CI

The new workflow finishes after the build without executing node --test; package.json also defines no test script, and a repo-wide search found no other invocation. Consequently, tests/api-key-storage.test.mjs is never exercised automatically, so a pull request can regress the API-key storage guarantee while all CI checks remain green.

Useful? React with 👍 / 👎.

54 changes: 29 additions & 25 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,27 +1,31 @@
1|# Logs
2|logs
3|*.log
4|npm-debug.log*
5|yarn-debug.log*
6|yarn-error.log*
7|pnpm-debug.log*
8|lerna-debug.log*
9|
10|node_modules
11|dist
12|dist-ssr
13|*.local
14|
15|# Editor directories and files
16|.vscode/*
17|!.vscode/extensions.json
18|.idea
19|.DS_Store
20|*.suo
21|*.ntvs*
22|*.njsproj
23|*.sln
24|*.sw?
25|
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules/
dist/
dist-ssr/
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea/
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

__pycache__/
venv/

.audit-result.json
.claude/settings.local.json
.under-anything/
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-merge-conflict
- id: check-added-large-files
- repo: local
hooks:
- id: prettier
name: prettier
entry: npx --no-install prettier --write --ignore-unknown
language: system
types_or: [javascript, jsx, ts, tsx, json, yaml, markdown]
require_serial: true
1 change: 0 additions & 1 deletion dist/assets/About-Cs9eJANr.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/assets/About-DG27denO.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading