Skip to content

Commit 31aa669

Browse files
committed
fix: update pretest script to use pnpm and enhance test task configuration
1 parent 352381e commit 31aa669

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/vscode-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"ci:publish": "ovsx publish --skip-duplicate && vsce publish --skip-duplicate",
5858
"ci:update": "tsx scripts/fetch-apis.ts",
5959
"dev": "tsup --watch",
60-
"pretest": "npm run build",
60+
"pretest": "pnpm build",
6161
"test": "vscode-test",
6262
"vscode:prepublish": "tsup"
6363
},

turbo.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
"check": {
1212
"dependsOn": ["^build"]
1313
},
14-
"test": {},
15-
"ci:release": {},
14+
"test": {
15+
"outputs": [],
16+
"passThroughEnv": ["DISPLAY"]
17+
},
1618
"ci:version": {},
1719
"fetch-apis": {
1820
"outputs": ["packages/vscode-extension/src/apis.ts"]

0 commit comments

Comments
 (0)