-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from kenfdev/add-coverage
add coferage report
- Loading branch information
Showing
2 changed files
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ jobs: | |
test: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
if: "!contains(github.event.head_commit.message, '[skip ci]')" | ||
defaults: | ||
run: | ||
working-directory: server | ||
|
@@ -27,12 +28,7 @@ jobs: | |
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
- uses: artiomtr/[email protected] | ||
with: | ||
node-version: '14.x' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Unit Test | ||
run: npm test | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
working-directory: server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a541d68
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage report for
server
Test suite run success
17 tests passing in 3 suites.
Report generated by 🧪jest coverage report action from a541d68