Skip to content

Commit d57318e

Browse files
authored
Merge pull request #2 from aws-github-ops/khushail/minorChange
Added unit test cases
2 parents 6799cd6 + ccc1ad9 commit d57318e

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/workflows/handleStaleDiscussions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: LabelAnswerableDiscussions
1+
name: HandleStaleDiscussions
22
on:
33
schedule:
44
- cron: '*/30 * * * *'
@@ -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)