Skip to content

Commit 57c4f92

Browse files
committed
feat: automated tests
1 parent f01f89c commit 57c4f92

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/tests.yml

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

0 commit comments

Comments
 (0)