Skip to content

Commit 11037be

Browse files
Update eslint-check.yml
1 parent a04a05c commit 11037be

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/eslint-check.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
1-
name: ESLint Check
1+
name: 'ESLint Check'
22

33
on:
44
workflow_dispatch:
55
pull_request:
6-
6+
branches: [ "main" ]
7+
78
jobs:
89
lint:
9-
name: Run ESLint
10+
name: 'Run ESLint'
1011
runs-on: ubuntu-latest
1112

1213
steps:
13-
- name: Checkout repository
14-
uses: actions/checkout@v3
14+
- name: 'Checkout repository'
15+
uses: actions/checkout@v4
1516

16-
- name: Setup Node.js
17-
uses: actions/setup-node@v3
17+
- name: 'Setup Node.js'
18+
uses: actions/setup-node@v4
1819
with:
1920
node-version: 20
2021

21-
- name: Install Dependacnies
22+
- name: 'Install Dependacnies'
2223
run: npm install
2324

24-
- name: Run ESLint quietly
25+
- name: 'Run ESLint quietly'
2526
run: npx eslint . --quiet

0 commit comments

Comments
 (0)