Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Run kcc-prototype-exemplar in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
finn-block committed Jun 17, 2024
1 parent 0b056c8 commit 6400273
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/generate-test-steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function formatCommands(commands) {
if (!commands) {
return null;
}
return commands.map((c) => "echo \"::group::" + c + "\"\n" + c + "\necho \"::endgroup::\"").join("\n");
return "set -e\n" + commands.map((c) => "echo \"::group::" + c + "\"\n" + c + "\necho \"::endgroup::\"").join("\n");
}

const languages = {};
Expand Down
2 changes: 1 addition & 1 deletion javascript/fan-club-credential/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion javascript/fan-club-credential/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"keywords": [],
"author": "",
"license": "ISC",
"license": "Apache-2.0",
"dependencies": {
"@web5/api": "^0.9.4",
"@web5/credentials": "^1.0.3",
Expand Down
16 changes: 16 additions & 0 deletions javascript/kcc-prototype-exemplar/.tbd-example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "KCC Prototype",
"tests": {
"pre": [
"cd idv-vendor && npm install",
"cd ../issuer && npm install && node 0-create-did-dht.js",
"cd ../wallet && npm install && node 0-create-did-dht.js"
],
"commands": [
"cd idv-vendor && node server.js &",
"cd issuer && node server.js &",
"sleep 1",
"cd wallet && ./full-flow.sh"
]
}
}

0 comments on commit 6400273

Please sign in to comment.