automatically fix linting errors
This commit is contained in:
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@@ -51,12 +51,24 @@ jobs:
|
|||||||
|
|
||||||
- name: Send Slack notifications
|
- name: Send Slack notifications
|
||||||
uses: act10ns/slack@v1
|
uses: act10ns/slack@v1
|
||||||
|
if: failure()
|
||||||
with:
|
with:
|
||||||
status: ${{ job.status }}
|
status: ${{ job.status }}
|
||||||
steps: ${{ toJson(steps) }}
|
steps: ${{ toJson(steps) }}
|
||||||
channel: '#tiptap-notifications'
|
channel: '#tiptap-notifications'
|
||||||
|
|
||||||
|
- name: Fix code style linting errors
|
||||||
|
id: lint-fix
|
||||||
|
run: yarn lint:fix
|
||||||
if: failure()
|
if: failure()
|
||||||
|
|
||||||
|
- name: Commit fixed linting errors
|
||||||
|
id: commit
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
|
if: failure()
|
||||||
|
with:
|
||||||
|
commit_message: "ci: fix code style linting errors"
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@@ -104,11 +116,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Send Slack notifications
|
- name: Send Slack notifications
|
||||||
uses: act10ns/slack@v1
|
uses: act10ns/slack@v1
|
||||||
|
if: failure()
|
||||||
with:
|
with:
|
||||||
status: ${{ job.status }}
|
status: ${{ job.status }}
|
||||||
steps: ${{ toJson(steps) }}
|
steps: ${{ toJson(steps) }}
|
||||||
channel: '#tiptap-notifications'
|
channel: '#tiptap-notifications'
|
||||||
if: failure()
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -151,8 +163,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Send Slack notifications
|
- name: Send Slack notifications
|
||||||
uses: act10ns/slack@v1
|
uses: act10ns/slack@v1
|
||||||
|
if: failure()
|
||||||
with:
|
with:
|
||||||
status: ${{ job.status }}
|
status: ${{ job.status }}
|
||||||
steps: ${{ toJson(steps) }}
|
steps: ${{ toJson(steps) }}
|
||||||
channel: '#tiptap-notifications'
|
channel: '#tiptap-notifications'
|
||||||
if: failure()
|
|
||||||
|
|||||||
Reference in New Issue
Block a user