Skip to content

Commit 51b5423

Browse files
committed
Add GitHub action
1 parent bc8be22 commit 51b5423

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ts.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: TypeScript CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
name: Test and Lint
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: 🧾 Checkout repository
16+
uses: actions/checkout@v4
17+
18+
- name: 📦 Install dependencies
19+
run: yarn install --immutable
20+
21+
- name: 🔍 Lint with ESLint
22+
run: yarn lint
23+
24+
- name: ✅ Run tests
25+
run: yarn test

0 commit comments

Comments
 (0)