Skip to content

Commit 5df5ab1

Browse files
authored
Merge pull request #50 from KoueiAmano/42frontLinter#42
chore: eslintの導入
2 parents f45a858 + 61ca517 commit 5df5ab1

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/frontlinter.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Frontend CI
2+
3+
on:
4+
push:
5+
paths:
6+
- 'aima-front/**'
7+
pull_request:
8+
paths:
9+
- 'aima-front/**'
10+
jobs:
11+
lint:
12+
runs-on: ubuntu-latest
13+
default:
14+
run:
15+
working-directory: aima-front
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: '24'
24+
cache: 'npm'
25+
- name: Install dependencies
26+
run: npm ci
27+
28+
- name: Run ESLint
29+
run: npm run lint

0 commit comments

Comments
 (0)