mirror of
https://github.com/avinal/sciezka.git
synced 2026-07-03 23:30:09 +05:30
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:
@@ -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
|
||||
Generated
+3818
-1
File diff suppressed because it is too large
Load Diff
+5
-2
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user