dequelabs / axe-api-team-public

Shared configuration, settings, and actions for the Axe API Team

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tech-debt: Create a GHA that will re-built dist on merged commits to `main`

Zidious opened this issue · comments

commented

Now we have automated dependency updates in this repository, depending what gets updated they may get used within .github/actions because of this, we will need to rebuild dist. We can create a GHA that can do the following:

  1. Run on push to main
  2. Create branch build-update-all-dists
  3. Run npm --workspaces run build which will re-build all dists within the action directory
  4. If there no file changes, exit 0
  5. If there are file changes, commit all with build(.github/actions): rebuild dists
  6. Create PR

This way we will always be up to date

Closed via #121