File tree Expand file tree Collapse file tree 3 files changed +17
-11
lines changed
packages/node-integration-tests
suites/tracing/prisma-orm Expand file tree Collapse file tree 3 files changed +17
-11
lines changed Original file line number Diff line number Diff line change 88 "private" : true ,
99 "scripts" : {
1010 "clean" : " rimraf -g **/node_modules" ,
11- "prisma:init" : " (cd suites/tracing/prisma-orm && ./setup.sh )" ,
11+ "prisma:init" : " (cd suites/tracing/prisma-orm && ts-node ./setup.ts )" ,
1212 "lint" : " run-s lint:prettier lint:eslint" ,
1313 "lint:eslint" : " eslint . --cache --cache-location '../../eslintcache/' --format stylish" ,
1414 "lint:prettier" : " prettier --check \" {suites,utils}/**/*.ts\" " ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ import { parseSemver } from '@sentry/utils' ;
2+ import { execSync } from 'child_process' ;
3+
4+ const NODE_VERSION = parseSemver ( process . versions . node ) ;
5+
6+ if ( NODE_VERSION . major && NODE_VERSION . major < 12 ) {
7+ // eslint-disable-next-line no-console
8+ console . warn ( `Skipping Prisma tests on Node: ${ NODE_VERSION . major } ` ) ;
9+ process . exit ( 0 ) ;
10+ }
11+
12+ try {
13+ execSync ( 'yarn && yarn setup' ) ;
14+ } catch ( _ ) {
15+ process . exit ( 1 ) ;
16+ }
You can’t perform that action at this time.
0 commit comments