Browse Source

fix: fix CI js linting?

pull/3226/head
Gabe Kangas 2 years ago
parent
commit
3ae0367bec
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 4
      .github/workflows/javascript-format-build.yml

4
.github/workflows/javascript-format-build.yml

@ -61,11 +61,11 @@ jobs: @@ -61,11 +61,11 @@ jobs:
- name: Lint
if: steps.changed-files.outputs.src_any_changed == 'true'
run: npx eslint --fix ${{ steps.changed-files.outputs.all_changed_files }}
run: npx eslint --fix ${{ steps.changed-files.outputs.src_all_changed_files }}
- name: Prettier
if: steps.changed-files.outputs.src_any_changed == 'true'
run: npx prettier --write ${{ steps.changed-files.outputs.all_changed_files }}
run: npx prettier --write ${{ steps.changed-files.outputs.src_all_changed_files }}
- name: Commit changes
if: steps.changed-files.outputs.src_any_changed == 'true'

Loading…
Cancel
Save