Skip to content

Commit

Permalink
add check on pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
hemarina committed Aug 28, 2024
1 parent a29ec85 commit 81bbed9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,10 @@ jobs:
working-directory: website
run: |
npm ci
npm run build
npm run build
- name: Check for crash/error message
working-directory: website
run: |
if grep -Rq "This page crashed|error" . ; then
echo "Error: Found 'the page is crashed' message in site output."
exit 1

0 comments on commit 81bbed9

Please sign in to comment.