Merge pull request #45 from LingandRX/develop

chore: release v1.0.4
This commit is contained in:
LingandRX
2026-05-23 14:15:07 +08:00
committed by GitHub
2 changed files with 8 additions and 4 deletions
+8 -1
View File
@@ -71,8 +71,11 @@ jobs:
with:
path: node_modules
key: ${{ runner.os }}-release-v22-${{ hashFiles('**/package-lock.json') }}
- name: Generate WXT types
run: npx wxt prepare
- name: Run TypeScript type check
run: npm run compile
run: npm run typecheck
test:
name: Unit Tests
@@ -90,6 +93,10 @@ jobs:
with:
path: node_modules
key: ${{ runner.os }}-release-v22-${{ hashFiles('**/package-lock.json') }}
- name: Generate WXT types
run: npx wxt prepare
- name: Run tests
run: npm run test
-3
View File
@@ -31,9 +31,6 @@ Pre-commit hook (`.husky/pre-commit` 调用 `lint-staged`):
提交前确保 `lint``typecheck` 通过。
> **注意**: Release 工作流 (`.github/workflows/release.yml`) 存在脚本名错误,typecheck 步骤使用了不存在的
> `npm run compile`,正确命令应为 `npm run typecheck`。
## WXT 生成文件
- `.wxt/` 目录由 `postinstall` 自动执行 `wxt prepare` 生成,包含 TypeScript 类型声明和扩展的 tsconfig。