From 48b8af71fa35f78387007a88443501cf63051f86 Mon Sep 17 00:00:00 2001 From: RECTOR Date: Wed, 23 Sep 2026 09:05:20 +0700 Subject: [PATCH] ci: install worker deps before discord unit tests The Unit tests step runs node --test from discord/, which discovers worker/test/ too. handlers.test.js imports the worker's discord-interactions dependency, so without an install step the file fails to load and the weekly run has been red since the worker tests landed. Local run with this change: 73/73 pass. --- .github/workflows/discord-drift.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/discord-drift.yml b/.github/workflows/discord-drift.yml index 18210c7..b8f1d91 100644 --- a/.github/workflows/discord-drift.yml +++ b/.github/workflows/discord-drift.yml @@ -14,6 +14,9 @@ jobs: - uses: actions/setup-node@v7 with: node-version: 22 + - name: Install worker deps + working-directory: discord/worker + run: npm ci - name: Unit tests working-directory: discord run: node --test