From 24e90e16ce9af0926a13c4db1d9a02cf0ed5c83c Mon Sep 17 00:00:00 2001 From: Local Dev Date: Wed, 7 Oct 2026 19:47:48 +0200 Subject: [PATCH] Pithos CI: install the gateway's dependencies for its tests test/theseus-id.test.js imports hosted/server.js, which needs @bitauth/libauth from hosted/node_modules; the runner only installed the app's own dependencies, so the job failed before building. --- .forgejo/workflows/desktop-linux.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/desktop-linux.yml b/.forgejo/workflows/desktop-linux.yml index 9a24d23..d9dc8c5 100644 --- a/.forgejo/workflows/desktop-linux.yml +++ b/.forgejo/workflows/desktop-linux.yml @@ -16,7 +16,10 @@ jobs: - uses: actions/checkout@v4 - name: Install - run: npm ci --no-audit --no-fund + # hosted/ too: test/theseus-id.test.js runs the real gateway + run: | + npm ci --no-audit --no-fund + npm ci --no-audit --no-fund --prefix hosted - name: Tests run: npm test