ci: add GitHub Actions workflow for build, typecheck, and lint

Assisted-by: Claude Code
Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
2026-04-28 00:13:53 +05:30
parent 1acdbe6469
commit 2642872977
3 changed files with 3846 additions and 3 deletions
+23
View File
@@ -0,0 +1,23 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
- run: npm ci
- run: npm run build
- run: npm run typecheck
- run: npm run lint
+3818 -1
View File
File diff suppressed because it is too large Load Diff
+5 -2
View File
@@ -5,10 +5,13 @@
"description": "A browser extension for fuzzy searching tabs, history and bookmarks.",
"scripts": {
"build": "node build.mjs",
"watch": "node build.mjs --watch"
"watch": "node build.mjs --watch",
"typecheck": "tsc --noEmit",
"lint": "web-ext lint --source-dir . --warnings-as-errors=false"
},
"devDependencies": {
"esbuild": "^0.25.0",
"typescript": "^5.8.0"
"typescript": "^5.8.0",
"web-ext": "^10.1.0"
}
}