Skip to content

Publish new release #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"lint-fix": "npm run eslint:fix && npm run tslint:fix",
"build": "tsc && cp package.json dist/",
"prepublishOnly": "npm run build",
"postversion": "tsc-publish --no-checks",
"postversion": "tsc-publish --no-checks --dry-run",
"jest": "jest",
"test": "npm run build && npm run lint && jest test/",
"test-unit": "npm run build && jest test/unit/",
Expand All @@ -36,7 +36,6 @@
},
"dependencies": {
"@types/node": "^12.20.24",
"code-engine-sdk-demo": "file:example",
"extend": "^3.0.2",
"ibm-cloud-sdk-core": "^2.14.1"
},
Expand Down
5 changes: 3 additions & 2 deletions test-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
echo "Running integration tests..."

# Setup example package
npm install -p example
cd example
npm install

# Run example, get exit code
exampleoutput=$(node example/example.js)
exampleoutput=$(node ./example.js)
exampleexit=$?
if [ $exampleexit -ne 0 ]; then
echo "Integration tests failed with exit code $exampleexit"
Expand Down