Skip to content

Commit 38af045

Browse files
committed
Add js tests in github action.
1 parent ff5f355 commit 38af045

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/jest.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: jest
2+
3+
on:
4+
- pull_request
5+
- push
6+
7+
jobs:
8+
pytest:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: latest
17+
18+
- uses: mymindstorm/setup-emsdk@v14
19+
20+
- name: dependencies
21+
run: npm install --include=dev
22+
23+
- name: jest
24+
run: npm run all

0 commit comments

Comments
 (0)