Skip to content

Commit 7ecd82a

Browse files
fix(ci): guard deno lint when there are no TS sources (#23)
fix(ci): guard deno lint when there are no TS sources
1 parent e2d9088 commit 7ecd82a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/rescript-deno-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
deno-version: v1.x
2222

2323
- name: Deno lint
24-
run: deno lint
24+
run: 'if ls **/*.ts >/dev/null 2>run: deno lint1 || ls *.ts >/dev/null 2>run: deno lint1; then deno lint; else echo "no TS sources to lint"; fi'
2525

2626
- name: Deno fmt check
2727
run: deno fmt --check

0 commit comments

Comments
 (0)