diff --git a/.github/workflows/github-pipelines.yml b/.github/workflows/github-pipelines.yml index af289695..dbd347c5 100644 --- a/.github/workflows/github-pipelines.yml +++ b/.github/workflows/github-pipelines.yml @@ -24,12 +24,12 @@ jobs: npm test # Replace with the appropriate test command for your app - name: Simulate failure scenario - if: github.ref == 'refs/heads/test-failures' + if: github.ref == 'refs/heads/test-failure' run: | echo "Simulating build failure" exit 1 - name: Simulate syntax error - if: github.ref == 'refs/heads/test-failures' + if: github.ref == 'refs/heads/test-failure' run: | bash -c 'echo "Simulating syntax error"; if [ true ]; then echo "missing fi"'