From f900312349313d784f009de5506ae91b8edef857 Mon Sep 17 00:00:00 2001 From: Timur Osmanov Date: Thu, 26 Sep 2024 12:31:53 +0300 Subject: [PATCH] fix: CI --- .github/workflows/CI.yml | 5 ++++- test/linter.spec.js | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2ecc245..7030d80 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -10,7 +10,10 @@ jobs: fail-fast: false matrix: os: [macos-latest, ubuntu-latest, windows-latest] - node-version: [14, 16, 17, 18, 19] + node-version: [16.x, 17.x, 18.x, 19.x] + include: + - os: [ubuntu-latest, windows-latest] + node-version: 14.x steps: - uses: actions/checkout@v3 diff --git a/test/linter.spec.js b/test/linter.spec.js index 3f0f43a..1186558 100644 --- a/test/linter.spec.js +++ b/test/linter.spec.js @@ -1385,7 +1385,6 @@ function cli (args, cwd, clearLogs = true) { if (clearLogs) { clearLogsCmd = (isWin === true) ? 'DEL /Q /F ".markdownlin*" &&' : 'rm -f .markdownlin* &&' } - console.log(`isWin: ${isWin}`, `args: ${args}`, `cwd: ${cwd}`, 'command', `${clearLogsCmd} node ${path.resolve('./linter')} ${args.join(' ')}`) return new Promise(resolve => { exec(`${clearLogsCmd} node ${path.resolve('./linter')} ${args.join(' ')}`, { cwd },