Skip to content

Commit

Permalink
Tweak naming, remove unnecessary error check
Browse files Browse the repository at this point in the history
  • Loading branch information
francisli committed Feb 24, 2024
1 parent a64040a commit 77a563a
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: CI
on: [push]
jobs:
format:
ci:
name: CI
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
Expand All @@ -18,14 +19,6 @@ jobs:
run: npm ci
- name: Check Formatting
run: npm run format:check
- name: Fail if not formatted correctly
run: |
if [ $? -eq 0 ]; then
echo "Files are formatted correctly."
else
echo "Files are not formatted correctly. Please run 'prettier' to format your code."
exit 1
fi
- name: Run ESLint
run: npm run lint --workspaces
- name: Run Tests
Expand Down

0 comments on commit 77a563a

Please sign in to comment.