Skip to content

Commit 9236609

Browse files
ci: add GitHub Actions workflow for automated tests
- Trigger on push to main and on all pull requests - Run npm test on Node.js 20 (Ubuntu runner) - Zero-config: leverages existing 'npm test' script Co-authored-by: Gemini <218195315+gemini-cli@users.noreply.github.com>
1 parent e7260b2 commit 9236609

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: '20'
17+
18+
- name: Run test suite
19+
run: npm test

0 commit comments

Comments
 (0)