GitHub Action Build
GitHub Action Build is a GitHub Action script that will build the project.
It is best practice to build code changes immediately so that any build problems are quickly identified and resolved. This makes the project more maintainable.
Enabling GitHub Action Build
Section titled βEnabling GitHub Action BuildβWhen you choose GitHub Action Build as an option, the Starlight project will include a .github/workflows/build.yml file.
It will:
- Check out the code
- Setup
pnpmand runpnpm install --frozen-lockfile - Run
pnpm build
GitHub will notify users when there is a build error so that the issue may be quickly resolved.