Skip to content

Commit 1248a87

Browse files
committed
feat: Add GitHub Actions for CI
1 parent bc8486c commit 1248a87

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI for OmO GitHub Agent
2+
on:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
branches: [ main ]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: '20'
19+
cache: 'npm'
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Build with TypeScript
25+
run: npm run build
26+
27+
# Add linting step here if ESLint or other linters are configured
28+
# - name: Lint
29+
# run: npm run lint
30+
31+
# Add testing step here if tests are implemented
32+
# - name: Test
33+
# run: npm test

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules/
2+
.env
3+
*.log
4+
dist/
5+
build/
6+
*.tsbuildinfo

0 commit comments

Comments
 (0)