Repository navigation
fix(ci): skip Playwright tests in insider publish (covered by Squad CI) #852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -14,7 +14,7 @@ jobs: | |||||||||||||
| timeout-minutes: 10 | ||||||||||||||
| strategy: | ||||||||||||||
| matrix: | ||||||||||||||
| node-version: [20] | ||||||||||||||
| node-version: [22] | ||||||||||||||
| steps: | ||||||||||||||
| - uses: actions/checkout@v4 | ||||||||||||||
|
|
||||||||||||||
|
|
@@ -33,16 +33,19 @@ jobs: | |||||||||||||
| timeout-minutes: 15 | ||||||||||||||
| strategy: | ||||||||||||||
| matrix: | ||||||||||||||
| node-version: [20] | ||||||||||||||
| node-version: [22] | ||||||||||||||
| steps: | ||||||||||||||
| - uses: actions/checkout@v4 | ||||||||||||||
|
|
||||||||||||||
| - uses: ./.github/actions/setup-squad-node | ||||||||||||||
| with: | ||||||||||||||
| node-version: ${{ matrix.node-version }} | ||||||||||||||
|
|
||||||||||||||
| - name: Run tests | ||||||||||||||
| run: npm test | ||||||||||||||
| - name: Build | ||||||||||||||
| run: npm run build | ||||||||||||||
|
|
||||||||||||||
|
Comment on lines
+44
to
+46
|
||||||||||||||
| - name: Build | |
| run: npm run build |
Copilot
AI
Apr 5, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This workflow runs tests via npx vitest ..., which bypasses the repo’s npm test script (package.json defines test as vitest run). Using npm test (passing the exclude via --) keeps CI aligned with the standard entrypoint and avoids any behavioral differences from npx resolution.
| run: npx vitest run --exclude 'test/aspire-integration.test.ts' | |
| run: npm test -- --exclude 'test/aspire-integration.test.ts' |
Copilot
AI
Apr 5, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skipping the Docker/Playwright integration via a hardcoded --exclude test/aspire-integration.test.ts is brittle (a rename/move could accidentally re-enable it in the publish workflow). Since the test already supports SKIP_DOCKER_TESTS=1, consider setting that env var for this step so the workflow intent stays stable even if the file path changes.
| run: npx vitest run --exclude 'test/aspire-integration.test.ts' | |
| env: | |
| SKIP_DOCKER_TESTS: '1' | |
| run: npx vitest run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR description says the change is swapping the test command, but this workflow also bumps the Node version from 20 to 22 for multiple jobs. Please update the PR description to mention the Node upgrade (or split it into a separate PR) so reviewers understand the full CI surface-area change.