chore: fix CI

- adapt tests to new codebase
- improve integration tests by reducing the amount of tasks (to make the tests faster)
This commit is contained in:
Ralph Khreish
2025-10-02 14:53:11 +02:00
parent 7660a29a1a
commit 1d197fe9c2
6 changed files with 23 additions and 22 deletions

View File

@@ -158,7 +158,11 @@ export function displayUpgradeNotification(
export async function performAutoUpdate(
latestVersion: string
): Promise<boolean> {
if (process.env.TASKMASTER_SKIP_AUTO_UPDATE === '1' || process.env.CI) {
if (
process.env.TASKMASTER_SKIP_AUTO_UPDATE === '1' ||
process.env.CI ||
process.env.NODE_ENV === 'test'
) {
console.log(
chalk.dim('Skipping auto-update (TASKMASTER_SKIP_AUTO_UPDATE/CI).')
);