From c5dde72b7f35f8f323a84e67c5d1ac6396b8f9e7 Mon Sep 17 00:00:00 2001 From: enlineawork Date: Mon, 7 Sep 2026 08:32:07 -0300 Subject: [PATCH] F2.3 CI: validar API y contrato de Hallazgos de campo --- .github/workflows/f2-3-ci.yml | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/f2-3-ci.yml diff --git a/.github/workflows/f2-3-ci.yml b/.github/workflows/f2-3-ci.yml new file mode 100644 index 0000000..d88560f --- /dev/null +++ b/.github/workflows/f2-3-ci.yml @@ -0,0 +1,38 @@ +name: F2.3 Field Finding CI + +on: + push: + branches: + - 'feature/f2-3*' + paths: + - 'api-v3/**' + - '.github/workflows/f2-3-ci.yml' + workflow_dispatch: + +permissions: + contents: read + +jobs: + api: + runs-on: ubuntu-latest + timeout-minutes: 20 + defaults: + run: + working-directory: api-v3 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Node 24 + uses: actions/setup-node@v4 + with: + node-version: '24' + cache: npm + cache-dependency-path: api-v3/package-lock.json + - name: Install + run: npm ci + - name: Typecheck + run: npm run typecheck + - name: Tests + run: npm test + - name: Build + run: npm run build