Skip to content

Commit 2c6aa21

Browse files
committed
Add CI Workflow
1 parent 0846f11 commit 2c6aa21

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Medsoft API CI
2+
3+
on:
4+
push:
5+
branches: [main, develop]
6+
pull_request:
7+
branches: [main, develop]
8+
9+
jobs:
10+
build-and-test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout Repository
14+
uses: actions/checkout@v4
15+
- name: Setup Node
16+
uses: actions/setup/node@v4
17+
with:
18+
node-version: 20
19+
- name: Install Dependencies
20+
run: npm install
21+
- name: Build TypeScript
22+
run: npm run build
23+
- name: Run Tests
24+
run: npm test

0 commit comments

Comments
 (0)