Skip to content

Commit 9854409

Browse files
committed
Build before test
1 parent b19c78b commit 9854409

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,20 @@ jobs:
2222
node-version: 18
2323
cache: npm
2424

25+
- run: npm run build
26+
2527
# Working around https://github.com/npm/cli/issues/4828
2628
# - run: npm ci
29+
2730
- run: npm install --no-package-lock
2831

2932
- name: Run client tests
3033
working-directory: ./client
3134
run: npm test
3235

33-
- run: npm run build
36+
- name: Run cli tests
37+
working-directory: ./cli
38+
run: npm test
3439

3540
publish:
3641
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)