|
|
|
@ -60,15 +60,15 @@ jobs:
@@ -60,15 +60,15 @@ jobs:
|
|
|
|
|
run: npm install |
|
|
|
|
|
|
|
|
|
- name: Lint |
|
|
|
|
if: steps.changed-files.outputs.any_changed == 'true' |
|
|
|
|
if: steps.changed-files.outputs.src_any_changed == 'true' |
|
|
|
|
run: npx eslint --fix ${{ steps.changed-files.outputs.all_changed_files }} |
|
|
|
|
|
|
|
|
|
- name: Prettier |
|
|
|
|
if: steps.changed-files.outputs.any_changed == 'true' |
|
|
|
|
if: steps.changed-files.outputs.src_any_changed == 'true' |
|
|
|
|
run: npx prettier --write ${{ steps.changed-files.outputs.all_changed_files }} |
|
|
|
|
|
|
|
|
|
- name: Commit changes |
|
|
|
|
if: steps.changed-files.outputs.any_changed == 'true' |
|
|
|
|
if: steps.changed-files.outputs.src_any_changed == 'true' |
|
|
|
|
uses: EndBug/add-and-commit@v9 |
|
|
|
|
with: |
|
|
|
|
author_name: Owncast |
|
|
|
|