Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail CI runs on lint #176

Merged
merged 1 commit into from
Jan 24, 2024
Merged

Fail CI runs on lint #176

merged 1 commit into from
Jan 24, 2024

Conversation

bcspragu
Copy link
Collaborator

In shell, ; means "run the next thing regardless", so when eslint failed, we just ran stylelint regardless, and that was the exit code that GH Actions saw

Using && short-circuits when something fails, so if eslint fails now, GH Actions will also fail

In shell, `;` means "run the next thing regardless", so when `eslint` failed, we just ran stylelint regardless, and that was the exit code that GH Actions saw

Using `&&` short-circuits when something fails, so if eslint fails now, GH Actions will also fail
@bcspragu bcspragu requested a review from gbdubs January 24, 2024 21:28
@bcspragu bcspragu merged commit 0d6f075 into main Jan 24, 2024
2 checks passed
@bcspragu bcspragu deleted the brandon/ci-fix branch January 24, 2024 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants