Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ on:
- cron: "0 12 * * *"

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
SKIP_DIST: ${{ github.event_name == 'pull_request' || github.event_name == 'schedule' }}

concurrency:
Expand Down Expand Up @@ -216,6 +215,7 @@ jobs:
run: npx playwright test e2e/samples.spec.ts
env:
CI: true
TEST_ALL_SAMPLES: "true"

- name: Upload Test Report Artifact
uses: actions/upload-artifact@v4
Expand Down
7 changes: 7 additions & 0 deletions e2e/samples.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ const getChangedSampleFolders = (): string[] => {
'find-changes.sh'
);

if (process.env.TEST_ALL_SAMPLES === 'true') {
console.log(
'TEST_ALL_SAMPLES is set. Running tests for all samples.'
);
return getAllSampleFolders();
}

if (!fs.existsSync(scriptPath)) {
console.warn(
`Warning: find-changes.sh not found at ${scriptPath}. Running tests for all samples.`
Expand Down
Loading