Skip to content

Commit

Permalink
Add non-zero exits to ci example scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
zZoMROT committed Oct 6, 2023
1 parent 289d16b commit ff9225d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- run: node ./examples/single-price.js
- run: node ./examples/single-price.js | grep "Error" && exit 1 || exit 0
env:
INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }}

Expand All @@ -48,6 +48,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- run: node ./examples/multiple-prices.js
- run: node ./examples/multiple-prices.js | grep "Error" && exit 1 || exit 0
env:
INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }}

0 comments on commit ff9225d

Please sign in to comment.