This repository was archived by the owner on Feb 20, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 "files" : [
7171 " build/src" ,
7272 " build/third_party/cloud-debug-nodejs" ,
73- " bindings" ,
7473 " build/protos"
7574 ],
7675 "nyc" : {
Original file line number Diff line number Diff line change @@ -99,14 +99,15 @@ retry npm_install --nodedir="$NODEDIR"
9999npm run compile
100100npm pack --nodedir="$NODEDIR" >/dev/null
101101VERSION=$(node -e "console.log(require('./package.json').version);")
102+ PROFILER="$HOME/cloud-profiler-nodejs/google-cloud-profiler-$VERSION.tgz"
102103
103104TESTDIR="$HOME/test"
104105mkdir -p "$TESTDIR"
105106cp -r "system-test/busybench" "$TESTDIR"
106107cd "$TESTDIR/busybench"
107108
108109retry npm_install @mapbox/node-pre-gyp --save
109- retry npm_install --nodedir="$NODEDIR" typescript gts; npm link ../../cloud-profiler-nodejs
110+ retry npm_install --nodedir="$NODEDIR" "$PROFILER" typescript gts
110111
111112npm run compile
112113
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import * as sinon from 'sinon';
2020
2121import { createProfiler , nodeVersionOkay } from '../src/index' ;
2222import { Profiler } from '../src/profiler' ;
23- import * as packageJson from '../package.json' ;
23+ const packageJson = require ( '../../ package.json' ) ;
2424
2525describe ( 'nodeVersionOkay' , ( ) => {
2626 const version = parseInt ( packageJson . engines . node . replace ( '>=' , '' ) ) ;
You can’t perform that action at this time.
0 commit comments