Skip to content

Commit 07af02d

Browse files
committed
debug
1 parent 1ed0e35 commit 07af02d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,7 @@ jobs:
5151
- name: Run tests
5252
run: ./scripts/test
5353

54+
- name: debug
55+
if: always()
56+
run: |
57+
cat .prism.log

scripts/mock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ echo "==> Starting mock server with URL ${URL}"
2121

2222
# Run prism mock on the given spec
2323
if [ "$1" == "--daemon" ]; then
24-
npm exec --package=@stoplight/prism-cli@~5.8 -- prism mock "$URL" &> .prism.log &
24+
npm exec --verbose --package=@stoplight/prism-cli@~5.8 -- prism mock "$URL" &> .prism.log &
2525

2626
# Wait for server to come online
2727
echo -n "Waiting for server"
@@ -37,5 +37,5 @@ if [ "$1" == "--daemon" ]; then
3737

3838
echo
3939
else
40-
npm exec --package=@stoplight/prism-cli@~5.8 -- prism mock "$URL"
40+
npm exec --verbose --package=@stoplight/prism-cli@~5.8 -- prism mock "$URL"
4141
fi

0 commit comments

Comments
 (0)