Target workflow

It is very common for many Github workflows to involve:

  1. (Optional) Creating a fork of a repository

  2. Working on a feature/bug fix on a feature branch

  3. Pushing the feature branch to Github

  4. Creating a pull request of the feature branch to the main branch of the repository

  5. Have some set of tests and automated checks start to verify the state of the pull request

We are going to replicate this workflow on the example application.

To avoid being overwhelmed with tasks, let's break down the "expected set of tests and automated checks" to be the following:

  1. Run unit tests (calculator.test.ts)

  2. Lint

Then, once the pull request is merged in main, we also want to (3) deploy it to Github Pages.

Last updated