Skip to content

Commit d2ac228

Browse files
fix: update test command in GitHub Actions to use vscode-test properly
- Separate Node.js tests from VSCode extension host tests - Add xvfb for headless VSCode testing in CI environment - Run language-configuration test separately as Node.js test - Use vscode-test for extension host tests with proper display setup 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent e7f6057 commit d2ac228

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@ jobs:
4646
run: pnpm run package
4747

4848
- name: Run tests
49-
run: pnpm run test
49+
run: |
50+
# Run local Node.js tests first
51+
NODE_OPTIONS='--import=tsx' pnpm exec mocha ./src/test/language-configuration-accessibility.test.ts
52+
# Then run VSCode extension host tests
53+
pnpm run compile-tests
54+
DISPLAY=:99 xvfb-run -a pnpm exec vscode-test
5055
5156
- name: Release
5257
env:

0 commit comments

Comments
 (0)