Skip to content

Commit b53d233

Browse files
committed
skip google-cloud-serverless in node 24
1 parent fb2e77c commit b53d233

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/ci-unit-tests.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ const BROWSER_TEST_PACKAGES = [
2929
// Packages that cannot run in Node 18
3030
const SKIP_NODE_18_PACKAGES = ['@sentry/react-router'];
3131

32+
const SKIP_NODE_24_PACKAGES = ['@sentry/google-cloud-serverless'];
33+
3234
function getAllPackages(): string[] {
3335
const { workspaces }: { workspaces: string[] } = JSON.parse(
3436
fs.readFileSync(path.join(process.cwd(), 'package.json'), 'utf-8'),
@@ -63,6 +65,10 @@ function runTests(): void {
6365
if (NODE_VERSION === '18') {
6466
SKIP_NODE_18_PACKAGES.forEach(pkg => ignores.add(pkg));
6567
}
68+
69+
if (NODE_VERSION === '24') {
70+
SKIP_NODE_24_PACKAGES.forEach(pkg => ignores.add(pkg));
71+
}
6672
}
6773

6874
if (RUN_AFFECTED) {

0 commit comments

Comments
 (0)