Skip to content

Commit b7b606d

Browse files
committed
Add GitHub Actions workflow for automated testing on push and pull request
1 parent 2e9e001 commit b7b606d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-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:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
types: [ opened, synchronize ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v4
18+
19+
- name: Install dependencies
20+
run: npm ci
21+
22+
- name: Run tests
23+
run: npm test

0 commit comments

Comments
 (0)