Skip to content

Commit 24b7bd7

Browse files
add test workflow
1 parent bfb1041 commit 24b7bd7

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
max-parallel: 1
10+
matrix:
11+
node-version: [ 22 ]
12+
steps:
13+
- name: Clone Repository
14+
uses: actions/checkout@v4
15+
- name: Setup Node version
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: ${{ matrix.node-version }}
19+
cache: 'npm'
20+
- name: Install dependencies
21+
run: npm ci
22+
- name: Run tests
23+
run: npm test

.npmignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
test/
2+
CLAUDE.md
3+
*.log
4+
.gitignore
5+
.github/

0 commit comments

Comments
 (0)