Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,10 @@ jobs:
run: xvfb-run -a npm run test:vscode -- --version ${{ matrix.vscode-version }}
env:
DISPLAY: ":99.0"

# Packaging runs vscode:prepublish, which re-runs the whole check chain.
# Doing it here — after the E2E download has populated .vscode-test —
# mirrors the order publish.yml uses, so a release-only break surfaces on
# the PR instead of at publish time.
- name: Package VSIX (mirrors publish.yml ordering)
run: npx @vscode/vsce package --no-update-package-json --out tailwind-stash.vsix
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:

- run: npm run format:check
- run: npm run lint
- run: npm run typecheck
- run: npm run compile
- run: npm run test:unit

Expand Down
5 changes: 4 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ export default defineConfig({
statements: 90,
},
},
exclude: ["test/vscode-e2e/**", "out/**", "node_modules/**"],
// .vscode-test holds the VS Code builds the E2E suite downloads, and those
// ship their own *.test.mts files. Without this, any vitest run that happens
// after an E2E run collects them and fails on "No test suite found".
exclude: ["test/vscode-e2e/**", "out/**", "node_modules/**", ".vscode-test/**"],
globals: true,
},
})