A GitHub Actions workflow with separate install and test steps

Опубликовано: 20 Октябрь 2024
на канале: gleb bahmutov
874
11

I am showing the https://github.com/bahmutov/cypress-g... workflow where we use two jobs. The first job installs the dependencies and builds the site. The second job downloads the built site and runs Cypress tests. Splitting the workflow like this allows us to build the site just once and potentially run multiple tests in parallel using Cypress GitHub Action.