Skip to content

Commit eb5d2d4

Browse files
committed
ci: gate publish on tests passing (npm test --workspaces)
1 parent 760bddc commit eb5d2d4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/publish-npmjs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232

3333
- run: npm ci
3434
- run: npm run build --workspaces --if-present
35+
- name: Run tests (block publish on failure)
36+
run: npm test --workspaces --if-present
3537

3638
- name: Publish all non-private workspaces (public)
3739
# `--access public` is required for first-time publish of a

0 commit comments

Comments
 (0)