Build before test

This commit is contained in:
cliffhall
2025-04-15 18:10:22 -04:00
parent b19c78bc0a
commit 9854409ece

View File

@@ -22,15 +22,20 @@ jobs:
node-version: 18 node-version: 18
cache: npm cache: npm
- run: npm run build
# Working around https://github.com/npm/cli/issues/4828 # Working around https://github.com/npm/cli/issues/4828
# - run: npm ci # - run: npm ci
- run: npm install --no-package-lock - run: npm install --no-package-lock
- name: Run client tests - name: Run client tests
working-directory: ./client working-directory: ./client
run: npm test run: npm test
- run: npm run build - name: Run cli tests
working-directory: ./cli
run: npm test
publish: publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest