From acd28207b2bcbe82c77552bd0ea314d0f17103a8 Mon Sep 17 00:00:00 2001 From: Anubhav Jain Date: Sun, 10 Mar 2024 00:33:10 +0530 Subject: [PATCH] fix-ci pipeline should fail on PR if lint fails - #172 # Fail the job if `lint:check` exits with a non-zero code --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9eefdc7bf..64420e8fb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,7 +18,7 @@ jobs: run: npm install --legacy-peer-deps - name: Run linting check - run: npm run lint:fix + run: npm run lint:check - name: Check formatting run: npm run format:fix \ No newline at end of file