Skip to content

Commit e14112c

Browse files
committed
run unit tests in gh ci
1 parent 8df7d1a commit e14112c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/test.yaml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Test
2+
3+
on: pull_request
4+
5+
jobs:
6+
unit-tests:
7+
runs-on: ubuntu-24.04
8+
steps:
9+
- uses: actions/checkout@v4
10+
11+
- name: Use Node.js
12+
uses: actions/setup-node@v4
13+
with:
14+
node-version: '20.x'
15+
16+
- name: Install dependencies
17+
run: npm ci
18+
19+
- name: Compile
20+
run: npm run compile
21+
22+
- name: Run Unit Tests
23+
run: npm run test

0 commit comments

Comments
 (0)