[tests] Fix turbo cache for test changes (#8246)

When we make changes in `test/lib/**`, it should run all the E2E tests again for every package.

https://turborepo.org/docs/reference/configuration
This commit is contained in:
Steven
2022-07-25 17:14:33 -04:00
committed by GitHub
parent b12387034a
commit afd303b94a
2 changed files with 4 additions and 2 deletions

View File

@@ -29,7 +29,8 @@ async function nowDeploy(bodies, randomness, uploadNowJson) {
(path.extname(n) === '.sh' ? 0o100755 : 0o100644),
}));
const { FORCE_BUILD_IN_REGION, NOW_DEBUG, VERCEL_DEBUG } = process.env;
const { FORCE_BUILD_IN_REGION, NOW_DEBUG, VERCEL_DEBUG, VERCEL_CLI_VERSION } =
process.env;
const nowJson = JSON.parse(bodies['vercel.json'] || bodies['now.json']);
const nowDeployPayload = {
@@ -43,6 +44,7 @@ async function nowDeploy(bodies, randomness, uploadNowJson) {
FORCE_BUILD_IN_REGION,
NOW_DEBUG,
VERCEL_DEBUG,
VERCEL_CLI_VERSION,
NEXT_TELEMETRY_DISABLED: '1',
},
},