Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 4 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,10 @@ jobs:
dotnet-version: '10.x'

# ── Shell libraries ────────────────────────────────────────────────
- name: Restore – Shell DDD lib
run: dotnet restore src/libs/shell/ddd/src/Ums.Shell.Ddd/Ums.Shell.Ddd.sln

- name: Build – Shell DDD lib
run: dotnet build src/libs/shell/ddd/src/Ums.Shell.Ddd/Ums.Shell.Ddd.sln --no-restore --configuration Release

- name: Test – Shell DDD lib
run: dotnet test src/libs/shell/ddd/src/Ums.Shell.Ddd/Ums.Shell.Ddd.sln --no-build --configuration Release --logger "console;verbosity=minimal"

- name: Restore – Shell Factory lib
run: dotnet restore src/libs/shell/factory/src/Ums.Shell.Factory.sln

- name: Build – Shell Factory lib
run: dotnet build src/libs/shell/factory/src/Ums.Shell.Factory.sln --no-restore --configuration Release

- name: Test – Shell Factory lib
run: dotnet test src/libs/shell/factory/src/Ums.Shell.Factory.sln --no-build --configuration Release --logger "console;verbosity=minimal"
# Los shells cross (BeyondNetCode.Shell.*) se consumen como paquetes NuGet
# publicados en nuget.org (repos beyondnetcode/Shell.*), NO como código
# vendorizado. El `Restore – UMS API` de abajo los resuelve vía PackageReference,
# así que aquí no se restauran/compilan soluciones locales (que no existen).

# ── Main API ───────────────────────────────────────────────────────
- name: Restore – UMS API
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,22 @@ jobs:
ci:
name: Build, Lint and Test (CI)
runs-on: ubuntu-latest
# El workspace npm/nx del monorepo vive bajo src/, no en la raíz del repo.
defaults:
run:
working-directory: src
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Required for SonarCloud analysis

- name: Setup Node.js v18
- name: Setup Node.js v22
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22 # React Router v8 exige node >= 22
cache: 'npm'
cache-dependency-path: src/package-lock.json

- name: Install Dependencies
run: npm ci
Expand Down
Loading