Skip to content

Commit 088f6af

Browse files
[chore] Run Jest-based Unit Tests on PR via GHA
1 parent 29e89ba commit 088f6af

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/test.yml

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

0 commit comments

Comments
 (0)