diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3aaf37a5b5..28ddc216c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -316,8 +316,9 @@ jobs: with: node-version: 16 - run: yarn install --ignore-engines - # You can run `yarn fix-lint` to fix all Prettier complaints. - - run: yarn lint + # You can run `yarn fix-lint` to fix all Prettier complaints, although at this point this will try to fix too many things. + # To fix only the files changed in this PR, see the command below. + - run: yarn lint || (( echo 'Try running `$ prettier --write $(git diff-tree --no-commit-id --name-only -r)`.' && false )) # Make sure no tests are skipped with "focused" tests. - run: | ! git grep -E 'f(it|describe)\(' 'tensorboard/*_test.ts'