Skip to content

Commit f0be62d

Browse files
authored
Add github tests action (#2)
1 parent 87ddb4b commit f0be62d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Run Tests
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v4
12+
- name: Set up Node.js
13+
uses: actions/setup-node@v4
14+
with:
15+
node-version: "22.x"
16+
cache: "npm"
17+
- name: Install dependencies
18+
run: npm install
19+
- name: Run tests
20+
run: npm test

0 commit comments

Comments
 (0)