From e6551fcfecbf1eda34d5e9b05e19767e2465f89c Mon Sep 17 00:00:00 2001 From: Santiago Date: Wed, 20 May 2026 09:24:26 -0300 Subject: [PATCH 1/3] ci: add minimal build/test pipeline Adds a CI workflow running build and test jobs on pull_request and push to main, per the UTxO RPC umbrella SDK CI requirements. --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..fb9612e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +name: CI +on: + pull_request: + branches: [main] + push: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: npm + - run: npm ci + - run: npm run build + + test: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: npm + - run: npm ci + - run: npx vitest run --passWithNoTests From 1faea14a0ffefdb1cb666d4c6027d607c849c28e Mon Sep 17 00:00:00 2001 From: Santiago Date: Wed, 20 May 2026 09:43:03 -0300 Subject: [PATCH 2/3] ci: use npm install instead of npm ci The repo gitignores its lockfile, so npm ci and cache: npm both fail with 'lock file is not found'. Use npm install (permitted by the SDK CI requirements) and drop the npm cache. --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb9612e..8045d2f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,8 +13,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - cache: npm - - run: npm ci + # The repo gitignores its lockfile, so `npm ci` / cache: npm cannot be used. + - run: npm install - run: npm run build test: @@ -25,6 +25,6 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - cache: npm - - run: npm ci + # The repo gitignores its lockfile, so `npm ci` / cache: npm cannot be used. + - run: npm install - run: npx vitest run --passWithNoTests From 7502418e14a340e0995a73576eea957ca7bb0577 Mon Sep 17 00:00:00 2001 From: Santiago Date: Wed, 20 May 2026 09:44:56 -0300 Subject: [PATCH 3/3] ci: exclude live-server integration test from CI test/index.test.mts requires a UTxO RPC server on :50051 and uninstalled @blaze-cardano packages; exclude it so the test job is green offline, consistent with the rust/dotnet integration suites. --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8045d2f..b3998d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,4 +27,7 @@ jobs: node-version: 20 # The repo gitignores its lockfile, so `npm ci` / cache: npm cannot be used. - run: npm install - - run: npx vitest run --passWithNoTests + # test/index.test.mts is a live-server integration suite (needs a server + # on :50051 + @blaze-cardano deps); excluded from CI like the rust/dotnet + # integration suites. No offline-runnable tests remain today. + - run: npx vitest run --passWithNoTests --exclude '**/index.test.mts'