Skip to content

Commit 991979a

Browse files
authored
Merge pull request #6 from code-rabi/tests-and-tickle
feat: add comprehensive test suite with Vitest and CI/CD
2 parents e617f77 + 25e2712 commit 991979a

File tree

11 files changed

+3078
-179
lines changed

11 files changed

+3078
-179
lines changed

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: [main, master, develop]
6+
pull_request:
7+
branches: [main, master, develop]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '20.x'
21+
cache: 'npm'
22+
23+
- name: Install dependencies
24+
run: npm ci
25+
26+
- name: Run tests
27+
run: npm test
28+

0 commit comments

Comments
 (0)