From acd24b3b0fa62e71508d26535fc77ef9f7b82edb Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Mon, 27 Feb 2023 15:02:27 +0800 Subject: [PATCH] ci: reorder the matrix for better readability of the logs --- .github/workflows/ci.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60777f91..915d37ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,22 +40,23 @@ jobs: needs: build strategy: matrix: - os: [ubuntu-latest] - node-version: [18] - flag-for-ts: ['--typescript', ''] - flag-for-jsx: ['--jsx', ''] - flag-for-router: ['--router', ''] - flag-for-pinia: ['--pinia', ''] - flag-for-vitest: ['--vitest', ''] + flag-for-ts: ['', '--typescript'] + flag-for-jsx: ['', '--jsx'] + flag-for-router: ['', '--router'] + flag-for-pinia: ['', '--pinia'] + flag-for-vitest: ['', '--vitest'] # It's quite costly to install Cypress & Playwright even with cache. # Maybe we can split them into another job so that all the projects # can share the same binary installation. - flag-for-e2e: ['--cypress', '--playwright', ''] + flag-for-e2e: ['', '--cypress', '--playwright'] # Skip ESLint/Prettier tests as we've reached the limit of job numbers # TODO: Find a way to test them without adding new jobs + node-version: [18] + os: [ubuntu-latest] + # Run a few tests on other systems and Node.js versions include: - node-version: 18 -- 2.39.5