From dcdf166b375059156ebc52f99efaccd36655c5e0 Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Tue, 3 Mar 2026 10:38:32 +0100 Subject: [PATCH] chore(ci): add test-js job to run Node tests after build Introduce a test-js job in the build workflow that runs on ubuntu-latest after the build job, checks out the repo, downloads artifacts, sets up Node.js, installs deps with yarn, and runs yarn test. --- .github/workflows/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0533478..518675a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,6 +31,17 @@ jobs: rust: true only: darwin-arm64,darwin-x64,linux-arm64,linux-x64 + test-js: + runs-on: ubuntu-latest + needs: build + steps: + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + - run: yarn install + - run: yarn test + package-size: runs-on: ubuntu-latest needs: build