Skip to content

Commit bac8b57

Browse files
committed
fix: use xvfb-run -a in extension test script
1 parent 31aa669 commit bac8b57

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
- run: pnpm i
3737
- run: pnpm build
3838
- run: pnpm lint
39-
- run: xvfb-run -a pnpm test
40-
- run: pnpm --filter @google-workspace/vscode-extension run ci:package
39+
- run: pnpm test
40+
- run: pnpm ci:package
4141
- run: |
4242
git config --global user.name "googleworkspace-bot"
4343
git config --global user.email "[email protected]"

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ jobs:
3030
- run: pnpm i
3131
- run: pnpm build
3232
- run: pnpm lint
33-
- run: xvfb-run -a pnpm test
34-
- run: pnpm --filter @google-workspace/vscode-extension run ci:package
33+
- run: pnpm test
34+
- run: pnpm ci:package

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"lint-staged": {
3030
"**/*.{js,ts,json,mjs,cjs}": [
31-
"biome check --write"
31+
"biome check --write --no-errors-on-unmatched"
3232
],
3333
"**/*.{html,yaml,yml,md}": [
3434
"prettier --write"

packages/vscode-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"ci:update": "tsx scripts/fetch-apis.ts",
5959
"dev": "tsup --watch",
6060
"pretest": "pnpm build",
61-
"test": "vscode-test",
61+
"test": "xvfb-run -a vscode-test",
6262
"vscode:prepublish": "tsup"
6363
},
6464
"devDependencies": {

turbo.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,9 @@
1111
"check": {
1212
"dependsOn": ["^build"]
1313
},
14-
"test": {
15-
"outputs": [],
16-
"passThroughEnv": ["DISPLAY"]
17-
},
14+
"test": {},
1815
"ci:version": {},
19-
"fetch-apis": {
16+
"ci:update": {
2017
"outputs": ["packages/vscode-extension/src/apis.ts"]
2118
}
2219
}

0 commit comments

Comments
 (0)