Target workflow
It is very common for many Github workflows to involve:
(Optional) Creating a fork of a repository
Working on a feature/bug fix on a feature branch
Pushing the feature branch to Github
Creating a pull request of the feature branch to the main branch of the repository
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:
Run unit tests (
calculator.test.ts
)Lint
Then, once the pull request is merged in main
, we also want to (3) deploy it to Github Pages.
Last updated