Skip to content

Commit 295ad1a

Browse files
Merge pull request #204 from technote-space/chore/chore-sync-workflows
chore: sync workflows
2 parents dc3394a + d471954 commit 295ad1a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
SUFFIX_FILTER: |
2626
.js
2727
.ts
28-
FILES: .eslintrc
28+
FILES: |
29+
yarn.lock
30+
.eslintrc
2931
if: "! contains(env.COMMIT_MESSAGE, '[skip ci]') && ! contains(env.COMMIT_MESSAGE, '[ci skip]')"
3032
- name: Set running flag
3133
run: echo "::set-env name=RUNNING::"
@@ -48,10 +50,10 @@ jobs:
4850
if: env.RUNNING
4951
- name: Check code style
5052
run: yarn eslint ${{ env.GIT_DIFF_FILTERED }}
51-
if: env.RUNNING && env.GIT_DIFF_FILTERED
53+
if: env.RUNNING && !env.MATCHED_FILES
5254
- name: Check code style
5355
run: yarn lint
54-
if: env.RUNNING && !env.GIT_DIFF_FILTERED
56+
if: env.RUNNING && env.MATCHED_FILES
5557

5658
cover:
5759
name: Coverage

0 commit comments

Comments
 (0)