Skip to content

Commit 01f2097

Browse files
committed
added bail flag
1 parent 17750e6 commit 01f2097

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This is a basic workflow to help you get started with Actions
22

3-
name: CI
3+
name: CI
44

55
# Controls when the workflow will run
66
on:
@@ -31,7 +31,7 @@ jobs:
3131
- name: Install dependencies
3232
run: npm install
3333
- name: Run all tests
34-
run: npm run test
34+
run: NODE_ENV=test jest --bail
3535

3636
# Runs a set of commands using the runners shell
3737
- name: Run a multi-line script

0 commit comments

Comments
 (0)