From 43e6a867649964af768fc2459c626d7cac8ade4b Mon Sep 17 00:00:00 2001 From: pcheremu <51121511+pcheremu@users.noreply.github.com> Date: Thu, 14 Mar 2024 13:39:29 +0100 Subject: [PATCH] test: refactoring --- .github/workflows/test-cli.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-cli.yml b/.github/workflows/test-cli.yml index c10ebd0..fdd1c6f 100644 --- a/.github/workflows/test-cli.yml +++ b/.github/workflows/test-cli.yml @@ -8,18 +8,17 @@ jobs: contents: read strategy: matrix: - os: ['macos-latest', 'ubuntu-latest', 'windows-latest'] + os: [macos-latest, ubuntu-latest, windows-latest] node-version: ['18.17.1', '20.11.0'] - tags: ['common.test.ts', 'dev.test.ts'] - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} - name: '$RUNNER_OS / Node ${{ matrix.node-version }}' + name: '${{ matrix.os }} / Node ${{ matrix.node-version }}' steps: - uses: actions/checkout@v4 - name: Install Docker - if: runner.os == 'Linux' + if: ${{ matrix.os }} == 'ubuntu-latest' uses: docker/setup-docker@v2 with: version: 'latest'