Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

chore: sync workflows #37

Merged
merged 1 commit into from
Sep 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
SUFFIX_FILTER: |
.js
.ts
FILES: .eslintrc
FILES: |
yarn.lock
.eslintrc
if: "! contains(env.COMMIT_MESSAGE, '[skip ci]') && ! contains(env.COMMIT_MESSAGE, '[ci skip]')"
- name: Set running flag
run: echo "::set-env name=RUNNING::"
Expand All @@ -48,10 +50,10 @@ jobs:
if: env.RUNNING
- name: Check code style
run: yarn eslint ${{ env.GIT_DIFF_FILTERED }}
if: env.RUNNING && env.GIT_DIFF_FILTERED
if: env.RUNNING && !env.MATCHED_FILES
- name: Check code style
run: yarn lint
if: env.RUNNING && !env.GIT_DIFF_FILTERED
if: env.RUNNING && env.MATCHED_FILES

cover:
name: Coverage
Expand Down