From 9854409eced7c61051da37975344a91dda0166e3 Mon Sep 17 00:00:00 2001 From: cliffhall Date: Tue, 15 Apr 2025 18:10:22 -0400 Subject: [PATCH] Build before test --- .github/workflows/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1f13444..6f18f1d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,15 +22,20 @@ jobs: node-version: 18 cache: npm + - run: npm run build + # Working around https://github.com/npm/cli/issues/4828 # - run: npm ci + - run: npm install --no-package-lock - name: Run client tests working-directory: ./client run: npm test - - run: npm run build + - name: Run cli tests + working-directory: ./cli + run: npm test publish: runs-on: ubuntu-latest