fix(tests): Update CI workflows, fix tests and refresh README/package metadata

This commit is contained in:
2025-08-26 20:16:47 +00:00
parent 863adb3b8c
commit dc47bc3d2a
20 changed files with 201 additions and 125 deletions

View File

@@ -27,14 +27,18 @@ export class Taskchain extends Task {
let taskCounter = 0; // counter for iterating async over the taskArray
const iterateTasks = (x: any) => {
if (typeof this.taskArray[taskCounter] !== 'undefined') {
console.log(this.name + ' running: Task' + this.taskArray[taskCounter].name);
console.log(
this.name + ' running: Task' + this.taskArray[taskCounter].name,
);
this.taskArray[taskCounter].trigger(x).then((x) => {
logger.log('info', this.taskArray[taskCounter].name);
taskCounter++;
iterateTasks(x);
});
} else {
console.log('Taskchain "' + this.name + '" completed successfully');
console.log(
'Taskchain "' + this.name + '" completed successfully',
);
done.resolve(x);
}
};