File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 19
19
"lint-fix" : " npm run eslint:fix && npm run tslint:fix" ,
20
20
"build" : " tsc && cp package.json dist/" ,
21
21
"prepublishOnly" : " npm run build" ,
22
- "postversion" : " tsc-publish --no-checks" ,
22
+ "postversion" : " tsc-publish --no-checks --dry-run " ,
23
23
"jest" : " jest" ,
24
24
"test" : " npm run build && npm run lint && jest test/" ,
25
25
"test-unit" : " npm run build && jest test/unit/" ,
36
36
},
37
37
"dependencies" : {
38
38
"@types/node" : " ^12.20.24" ,
39
- "code-engine-sdk-demo" : " file:example" ,
40
39
"extend" : " ^3.0.2" ,
41
40
"ibm-cloud-sdk-core" : " ^2.14.1"
42
41
},
Original file line number Diff line number Diff line change 7
7
echo " Running integration tests..."
8
8
9
9
# Setup example package
10
- npm install -p example
10
+ cd example
11
+ npm install
11
12
12
13
# Run example, get exit code
13
- exampleoutput=$( node example /example.js)
14
+ exampleoutput=$( node . /example.js)
14
15
exampleexit=$?
15
16
if [ $exampleexit -ne 0 ]; then
16
17
echo " Integration tests failed with exit code $exampleexit "
You can’t perform that action at this time.
0 commit comments