Skip to content

Commit

Permalink
Specifically allow job to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaSBrown committed Jan 2, 2025
1 parent c7a0527 commit dcb4a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/javascript-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on: push
jobs:
format-javascript:
runs-on: ubuntu-latest
continue-on-error: true # Allow this job to fail without failing the entire workflow

steps:
# Step 1: Checkout the repository
Expand All @@ -23,6 +22,7 @@ jobs:
# Step 4: Run Prettier to format code
- name: Run prettier
continue-on-error: true # Allow this job to fail without failing the entire workflow
run: |
prettier "**/*.js" --write
git diff
Expand Down

0 comments on commit dcb4a45

Please sign in to comment.