Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: simplify CI matrix and more comprehensive tests #640

Merged
merged 35 commits into from
Dec 19, 2024

Conversation

haoqunjiang
Copy link
Member

@haoqunjiang haoqunjiang commented Dec 18, 2024

Description

Simplify the CI pipeline for a cleaner workflow; and avoid the parallelism limit when we add more flags to the CLI.

Most of the time, the new workflow's total duration would be shorter or similar to the previous one (longer job execution time but less queueing time1), but sometimes, Windows Cypress tests took too long when cache misses.

TODOs:

  • separate typescript-* projects from others because type-checking takes much more time
  • add node 18/20 jobs
  • add tests for Nightwatch I didn't manage to get Nightwatch tests working on GitHub Actions. It was never tested before anyway, so let's skip that for this PR.
  • Add more snapshots for ESLint / Prettier, now that they won't trigger more jobs in the CI matrix.
    I'd like to move that into a separate PR because it requires changing the snapshot script, so not a mere CI change.
  • fix --with-tests. That should also be a separate PR.

TO DECIDE:

  • Shall we scope down the Node.js 18/20 tests to only make sure that the project can be successfully created and dependencies can be installed with engine-strict flag on? Because most of the actual compatibility work is on the shoulder of the upstream projects, not us.

Footnotes

  1. there can be only 20 concurrent jobs on GitHub Free plan

as ts tries to search upwards and found the depended `tsconfig/node22`
dep missing
This reverts commit 04af4bb.

It would took too much effort to make it work. We can revisit it later.
It's never tested before anyway.
@haoqunjiang haoqunjiang marked this pull request as ready for review December 19, 2024 08:59
@haoqunjiang haoqunjiang changed the title ci(work-in-progress): simplify CI matrix and more comprehensive tests ci: simplify CI matrix and more comprehensive tests Dec 19, 2024
@haoqunjiang haoqunjiang merged commit 93223ad into vuejs:main Dec 19, 2024
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants