Skip to content

Commit

Permalink
chore(CI): Only update areweturboyet datasets for other bundlers from…
Browse files Browse the repository at this point in the history
… canary branch results
  • Loading branch information
bgw committed Feb 24, 2025
1 parent e848f4f commit 50de3e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions test/build-rspack-build-tests-manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,9 @@ async function fetchLatestTestArtifact() {
const res = JSON.parse(stdout)

for (const artifact of res.artifacts) {
// Temporarily allow other branches too
// if (artifact.expired || artifact.workflow_run.head_branch !== 'canary') {
// continue
// }
if (artifact.expired || artifact.workflow_run.head_branch !== 'canary') {
continue
}

return artifact
}
Expand Down
7 changes: 3 additions & 4 deletions test/build-rspack-dev-tests-manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,9 @@ async function fetchLatestTestArtifact() {
const res = JSON.parse(stdout)

for (const artifact of res.artifacts) {
// Temporarily allow other branches too
// if (artifact.expired || artifact.workflow_run.head_branch !== 'canary') {
// continue
// }
if (artifact.expired || artifact.workflow_run.head_branch !== 'canary') {
continue
}

return artifact
}
Expand Down

0 comments on commit 50de3e8

Please sign in to comment.