feat: use test:debug for CI

This commit is contained in:
JellyBrick
2023-10-16 02:08:25 +09:00
parent d78fbe476e
commit 7577aba45e
3 changed files with 16 additions and 4 deletions

View File

@ -88,12 +88,12 @@
},
"scripts": {
"test": "yarpm-pnpm run build && playwright test",
"test:debug": "DEBUG=pw:browser* yarpm-pnpm run build && playwright test",
"test:debug": "yarpm-pnpm run build && cross-env DEBUG=pw:*,-pw:test:protocol playwright test",
"rollup:preload": "rollup -c rollup.preload.config.ts --configPlugin @rollup/plugin-typescript --bundleConfigAsCjs",
"rollup:main": "rollup -c rollup.main.config.ts --configPlugin @rollup/plugin-typescript --bundleConfigAsCjs",
"build": "yarpm-pnpm run rollup:preload && yarpm-pnpm run rollup:main",
"start": "yarpm-pnpm run build && electron ./dist/index.js",
"start:debug": "ELECTRON_ENABLE_LOGGING=1 yarpm-pnpm run start",
"start:debug": "cross-env ELECTRON_ENABLE_LOGGING=1 yarpm-pnpm run start",
"postinstall": "patch-package",
"clean": "del-cli dist && del-cli pack",
"dist": "yarpm-pnpm run clean && yarpm-pnpm run build && electron-builder --win --mac --linux -p never",
@ -180,6 +180,7 @@
"@typescript-eslint/eslint-plugin": "6.7.5",
"auto-changelog": "2.4.0",
"builtin-modules": "^3.3.0",
"cross-env": "7.0.3",
"del-cli": "5.1.0",
"electron": "27.0.0",
"electron-builder": "24.6.4",