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

Improve CI setup #1904

Merged
merged 1 commit into from
Sep 15, 2022
Merged

Improve CI setup #1904

merged 1 commit into from
Sep 15, 2022

Commits on Sep 15, 2022

  1. Improve CI setup

    Changes the CI setup to:
    
    - Extract Go and node setup to a "composite" action, allowing us to
    
      setup all CI jobs consistently. For example, the golangci-lint was building
      turbo with Go 1.17, while the Go unit and e2e tests were building with Go 1.18.
    
    - Parallelize some jobs for faster feedback
    
      Separates Go unit and e2e tests, and JS lint and tests into separate workflows.
      The tradeoff is that each Github Action runner will need to install Go and Node and
      build turbo multiple times, but this is fairly fast, and these steps are highly cacheable.
    
    - Improve the names of Workflows, Jobs, and Steps to be more debuggable
    
      Some of the naming changes are for consistency, but some make it easier to
      scan the list of PR checks and the Action summaries to see what failed and where.
      In some cases, the names of Steps are removed, as the command itself is descriptive
      enough, that we do not need to name it.
    
    Co-authored-by: Nathan Hammond <nathan.hammond@vercel.com>
    mehulkar and nathanhammond committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    1c08899 View commit details
    Browse the repository at this point in the history