Skip to content

Commit 0f27c0d

Browse files
committed
[ci] Add jest test job
1 parent 7e2907d commit 0f27c0d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@ env:
1212
IMAGE_NAME: alpine:3.10.1
1313

1414
jobs:
15+
jest:
16+
name: Test with jest
17+
runs-on: ubuntu-18.04
18+
steps:
19+
- uses: actions/checkout@v1
20+
21+
- uses: actions/setup-node@v1
22+
with:
23+
node-version: '12.x'
24+
25+
- name: Install dependencies
26+
run: npm install
27+
28+
- name: Jest
29+
run: npm run test
30+
1531
test1:
1632
name: Test for with parameter
1733
runs-on: ubuntu-18.04

0 commit comments

Comments
 (0)