Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: remove --check-files and add conditional to prevent duplicate run #1042

Merged
merged 5 commits into from
Aug 31, 2020
Merged
Changes from 2 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
5 changes: 3 additions & 2 deletions .github/workflows/build-eslint-jest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
all:
if: github.event.pull_request.merged == false
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest']
Expand All @@ -30,7 +31,7 @@ jobs:
key: node_modules_${{ runner.os }}_${{ hashFiles('**/yarn.lock') }}

- name: Install dependencies
run: yarn install --frozen-lockfile --check-files
run: yarn install --frozen-lockfile

- name: Run ESLint
run: yarn lint
Expand All @@ -43,4 +44,4 @@ jobs:
- name: Run tests
run: yarn test
env:
CI: true
CI: true