Skip to content

Commit 8ac9556

Browse files
authored
Merge pull request #2 from SM8UTI/new-v2
feat: Add CI workflow for linting, typechecking, and testing, and ign…
2 parents c9c80b4 + db6365b commit 8ac9556

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI Check
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
pull_request:
9+
branches:
10+
- main
11+
- master
12+
13+
jobs:
14+
validate:
15+
name: Lint, Typecheck, and Test
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout Repository
20+
uses: actions/checkout@v4
21+
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: '22'
26+
cache: 'npm'
27+
28+
- name: Install Dependencies
29+
run: npm ci
30+
31+
- name: Run TypeScript Compiler Check
32+
run: npx tsc --noEmit
33+
34+
- name: Run ESLint
35+
run: npm run lint
36+
37+
- name: Run Jest Tests
38+
run: npm run test -- --passWithNoTests

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.DS_Store
44
.agents
55
skills-lock.json
6+
ruleset.json
67

78
# Xcode
89
#

0 commit comments

Comments
 (0)