Skip to content

Commit 808534d

Browse files
committed
Simplify lint-eslint
1 parent 8402fd3 commit 808534d

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

.github/workflows/lint-eslint.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ on: pull_request
1313
permissions:
1414
contents: read
1515

16-
1716
jobs:
1817
changes:
1918
runs-on: ubuntu-latest
@@ -43,14 +42,12 @@ jobs:
4342
- '**.ts'
4443
- '**.vue'
4544
46-
lint:
45+
eslint:
4746
runs-on: ubuntu-latest
4847

4948
needs: changes
5049
if: needs.changes.outputs.src != 'false'
5150

52-
name: NPM lint
53-
5451
steps:
5552
- name: Checkout
5653
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -80,18 +77,3 @@ jobs:
8077

8178
- name: Lint
8279
run: npm run lint
83-
84-
summary:
85-
permissions:
86-
contents: none
87-
runs-on: ubuntu-latest
88-
needs: [changes, lint]
89-
90-
if: always()
91-
92-
# This is the summary, we just avoid to rename it so that branch protection rules still match
93-
name: eslint
94-
95-
steps:
96-
- name: Summary status
97-
run: if ${{ needs.changes.outputs.src != 'false' && needs.lint.result != 'success' }}; then exit 1; fi

0 commit comments

Comments
 (0)