Skip to content

Commit ccc1ad9

Browse files
committed
added unit test cases
1 parent 60f5e14 commit ccc1ad9

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/handleStaleDiscussions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Build
3131
run: npm run build
3232

33-
- name: Close stale discussions
33+
- name: Handle stale discussions
3434
uses: ./
3535
env:
3636
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/unit-test.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Unit Test
2+
3+
on: push
4+
5+
jobs:
6+
jest-tests:
7+
name: jest tests
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
12+
- name: Install dependencies
13+
run: npm install
14+
15+
- name: Testing
16+
run: npm run test

0 commit comments

Comments
 (0)