fix: fix CI js linting?

This commit is contained in:
Gabe Kangas 2023-08-01 13:19:36 -07:00
parent f8ea174b79
commit 3ae0367bec
No known key found for this signature in database
GPG key ID: 4345B2060657F330

View file

@ -61,11 +61,11 @@ jobs:
- name: Lint - name: Lint
if: steps.changed-files.outputs.src_any_changed == 'true' 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 - name: Prettier
if: steps.changed-files.outputs.src_any_changed == 'true' 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 - name: Commit changes
if: steps.changed-files.outputs.src_any_changed == 'true' if: steps.changed-files.outputs.src_any_changed == 'true'