Skip to content

Commit cac7213

Browse files
committed
ci: update lint check logic
1 parent ad939d5 commit cac7213

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci-lint.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,9 @@ jobs:
3636
filename: vscode-webdriverio-build.zip
3737

3838
- name: 📃 Run the lint
39-
run: pnpm run lint
39+
run: pnpm run style:fix
40+
shell: bash
41+
42+
- name: ✅ Check status
43+
run: if [[ $(git status --short | wc -l) -ne 0 ]]; then STATUS=$(git status --verbose); printf "%s" "$STATUS"; git diff | cat; exit 1; fi
4044
shell: bash

0 commit comments

Comments
 (0)