ci(release): fix typecheck command and add missing WXT prepare steps

- Replace non-existent
pm run compile with correct
pm run typecheck
- Add
px wxt prepare before typecheck and test steps (aligned with ci.yml)
- Update AGENTS.md to remove fixed issue note
This commit is contained in:
雨霖铃
2026-05-23 14:13:27 +08:00
parent 8ec36ac3b3
commit d678f14549
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