Skip to content

Commit e937d05

Browse files
Merge pull request #3 from StevanFreeborn/fix/update-documentation
fix: update documentation
2 parents e393491 + eac881e commit e937d05

27 files changed

+858
-14
lines changed

.github/workflows/build_publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ jobs:
5252
TEST_SURVEY_ID: ${{ vars.TEST_SURVEY_ID }}
5353
TEST_SURVEY_RECORD_ID: ${{ vars.TEST_SURVEY_RECORD_ID }}
5454
TEST_TEXT_FIELD: ${{ vars.TEST_TEXT_FIELD }}
55+
- name: Upload coverage reports to Codecov
56+
uses: codecov/codecov-action@v3
57+
with:
58+
token: ${{ secrets.CODECOV_TOKEN }}
5559
- name: Upload build artifact
5660
uses: actions/[email protected]
5761
with:

.github/workflows/lint_format_test.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,24 @@ jobs:
113113
TEST_SURVEY_ID: ${{ vars.TEST_SURVEY_ID }}
114114
TEST_SURVEY_RECORD_ID: ${{ vars.TEST_SURVEY_RECORD_ID }}
115115
TEST_TEXT_FIELD: ${{ vars.TEST_TEXT_FIELD }}
116+
- name: Upload test coverage artifact
117+
uses: actions/[email protected]
118+
with:
119+
name: coverage
120+
path: ./coverage
116121
publish_test_coverage:
117122
needs: test
118123
name: publish_test_coverage
119124
runs-on: ubuntu-latest
120125
steps:
126+
- name: Check out repository
127+
uses: actions/checkout@v3
128+
- name: Download test coverage artifact
129+
uses: actions/[email protected]
130+
with:
131+
name: coverage
132+
path: ./coverage
121133
- name: Upload coverage reports to Codecov
122134
uses: codecov/codecov-action@v3
135+
with:
136+
token: ${{ secrets.CODECOV_TOKEN }}

.husky/commit-msg

100644100755
File mode changed.

.nycrc

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,18 @@
66
"functions": 100,
77
"statements": 100,
88
"all": true,
9-
"include": ["src/**/*.ts"],
10-
"exclude": ["src/index.ts", "**/*.spec.ts"],
11-
"reporter": ["html", "lcov", "text", "text-summary"],
9+
"include": [
10+
"src/**/*.ts"
11+
],
12+
"exclude": [
13+
"src/index.ts",
14+
"**/*.spec.ts"
15+
],
16+
"reporter": [
17+
"html",
18+
"lcov",
19+
"text",
20+
"text-summary"
21+
],
1222
"report-dir": "coverage"
13-
}
23+
}

0 commit comments

Comments
 (0)