Skip to content

Commit 47103e9

Browse files
committed
Created lint-on-push-pr.yml
1 parent 5601c12 commit 47103e9

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Lint pushes/PRs
2+
on: [push, pull_request]
3+
4+
permissions:
5+
contents: read
6+
7+
jobs:
8+
9+
eslint:
10+
name: ESLint
11+
runs-on: ubuntu-latest
12+
steps:
13+
14+
- name: Checkout repository code
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: 'lts/*'
21+
22+
- name: Install dependencies
23+
run: npm ci
24+
25+
- name: Run ESLint
26+
run: npm run lint

0 commit comments

Comments
 (0)