Skip to content

Commit d34c165

Browse files
committed
chore: add lint & ts checks to CI
1 parent c45e512 commit d34c165

8 files changed

+155
-379
lines changed

β€Ž.github/workflows/lint.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Check ESLint
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
eslint:
8+
name: ESLint
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: πŸ— Setup repo
12+
uses: actions/checkout@v4
13+
14+
- name: πŸ“¦ Install dependencies
15+
run: npm install
16+
17+
- name: πŸ€“ Run ESLint
18+
run: npm run lint

β€Ž.github/workflows/typescript.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Run Typescript
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
typescript-check:
8+
name: Typescript check
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: πŸ— Setup repo
12+
uses: actions/checkout@v4
13+
14+
- name: πŸ“¦ Install dependencies
15+
run: npm install
16+
17+
- name: πŸ” Run Typescript check
18+
run: npm run ts:check

0 commit comments

Comments
Β (0)