Skip to content

Commit fcc336a

Browse files
committed
ci(github): Add ESLint workflow for pull request linting
1 parent a6d055e commit fcc336a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/lint.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Lint via ESLint
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy-github-pages:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-node@v3
15+
with:
16+
node-version: 22
17+
cache: yarn
18+
19+
- name: Install dependencies
20+
run: yarn install --immutable
21+
22+
- name: Lint code
23+
run: yarn lint

0 commit comments

Comments
 (0)