From b7115dd9d72ca48d75b4232fd86c9cbbab3a0ad9 Mon Sep 17 00:00:00 2001 From: Dominic Saadi Date: Wed, 13 Dec 2023 17:34:58 -0800 Subject: [PATCH] chore(CI): add RSC fixtures to detect changes list (#9703) Currently the RSC smoke tests seem to be failing consistently on https://github.com/redwoodjs/redwood/pull/9649. In debugging, I noticed that the RSC smoke tests didn't actually run for https://github.com/redwoodjs/redwood/pull/9666 which changed the RSC fixtures. That's because those files weren't listed in the detect changes list. Adding them here. --- .github/actions/detect-changes/cases/rsc.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/detect-changes/cases/rsc.mjs b/.github/actions/detect-changes/cases/rsc.mjs index eefd7294b184..e2e31da48e8a 100644 --- a/.github/actions/detect-changes/cases/rsc.mjs +++ b/.github/actions/detect-changes/cases/rsc.mjs @@ -20,7 +20,9 @@ export function rscChanged(changedFiles){ changedFile.startsWith('packages/internal/') || changedFile.startsWith('packages/project-config/') || changedFile.startsWith('packages/web/') || - changedFile.startsWith('packages/vite/') + changedFile.startsWith('packages/vite/') || + changedFile.startsWith('__fixtures__/test-project-rsa') || + changedFile.startsWith('__fixtures__/test-project-rsc-external-packages') ) { console.log('RSC change detected:', changedFile) return true