ci: pipeline JS scopeada a app-web (quita --code-coverage inválido) - #9
Merged
Conversation
…rage El paso de tests moría con `--code-coverage` (no es flag de vitest ni de dotnet test → MSB1001 Unknown switch). Además el job `ci` no instala el SDK .NET 10, así que correr app-api-dotnet (dotnet test/build) fallaría por falta de runtime. - Se quita `--code-coverage`. - lint/test/build se scopean a `--projects=app-web`: este job es la pipeline JS/frontend; el backend .NET tiene su CI dedicada en build.yml (con setup-dotnet). Réplica local verde: nx lint app-web 0 errores; nx test app-web 1476/1476. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Corrige el último fallo del job Build, Lint and Test (CI), que ya pasaba Install/Audit/Lint tras #7/#8 pero moría en el paso de tests.
Causa (bug de workflow, no de tests):
nx run-many --target=test --code-coverage—--code-coverageno es flag válido de vitest (usa--coverage) ni dedotnet test(MSB1001: Unknown switch). Y el job no instala .NET 10, así queapp-api-dotnet(dotnet test/build) fallaría igual.Fix: quitar
--code-coveragey scopear lint/test/build a--projects=app-web. Este job es la pipeline JS/frontend; el backend .NET tiene su CI dedicada (build.yml).Validación local (réplica del CI):
nx lint app-web0 errores ·nx test app-web1476/1476.🤖 Generated with Claude Code