1 parent
e386975056
commit
65c175c8fa
34 files changed
+8
-11011
No files matched your search
@@ -26,16 +26,10 @@ jobs:
|
||||
run: |
|
||||
npm run lint
|
||||
npm run format:check
|
||||
- name: 安装测试浏览器
|
||||
run: npx playwright install --with-deps chromium firefox
|
||||
- name: 检查源码并构建
|
||||
run: |
|
||||
npm run check
|
||||
npm run build
|
||||
- name: 验收真实生产构建
|
||||
run: |
|
||||
task_chrome_path="$(node --input-type=module -e 'import { chromium } from "playwright"; process.stdout.write(chromium.executablePath())')"
|
||||
CHROME_PATH="$task_chrome_path" npm test
|
||||
# deepmerge 尚无上游修复版本;低危传播项保留在审计输出,不通过降级框架隐藏。
|
||||
- name: 阻止中危及以上依赖风险
|
||||
run: npm audit --audit-level=moderate
|
||||
Reference in new issue
Block a user