platformplatform / PlatformPlatform

🚀 Pre-alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
https://platformplatform.github.io
MIT License
226 stars 24 forks source link

Streamline workflows and build processes #463

Closed tjementum closed 3 months ago

tjementum commented 3 months ago

Summary & Motivation

Rename workflow jobs and steps with more generic names after splitting App Gateway and Account Management API into separate workflows. This removes the need for self-contained system prefixes in GitHub steps and actions.

Skip publishing Docker images when workflow is triggered from pull requests. This avoids unnecessary and failing Docker image publications, especially for external pull requests, as only workflows triggered by a maintainer have OIDC permissions to publish to Azure Container Registry.

Ensure unit tests and code coverage run even when Sonar Cloud is not configured. This ensures unit tests are executed when forking PlatformPlatform where Sonar Cloud is not configured by default.

Remove explicit "Install Node modules" step when building the WebApp as this step is now done automatically when building the WebApp.

Fix trigger path in account-management workflow to use .github/workflows/account-management.yml instead of app-gateway.yml to prevent incorrect triggering.

Checklist

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud