A model first approach to an mvvm implementation for shared Blazor compoments
This repository contains two GitHub Actions workflows:
-
Deploy Workflow (
.github/workflows/deploy.yml): This workflow builds and pushes theInnovative.Blazor.Componentspackage. It is triggered on pushes to themain,develop, andrelease*branches, as well as manual triggers. The workflow includes steps for extracting version information, building the solution, running tests, and publishing the package to NuGet.org. -
Test Workflow (
.github/workflows/test.yml): This workflow runs tests and checks code coverage. It is triggered on pull requests to themainanddevelopbranches. The workflow includes steps for restoring dependencies, building the solution, running tests, reporting code coverage, and checking if the total code coverage is below 75%. If the code coverage is below 75%, the workflow will fail.