Skip to content

Commit 4dc4125

Browse files
authored
feat: export types and enums from main module (#167)
* feat: export enums and types from the main module * fix: fix CI workflow not finding coverage report * chore: switch from coveralls to codecov
1 parent b6b5a85 commit 4dc4125

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ jobs:
4141
npm clean-install
4242
npm run test:coverage
4343
44-
- name: Upload coverage results to Coveralls
45-
uses: coverallsapp/github-action@master
46-
with:
47-
github-token: ${{ secrets.GITHUB_TOKEN }}
48-
path-to-lcov: ./test/coverage/lcov.info
44+
- name: Upload coverage reports to Codecov
45+
uses: codecov/codecov-action@v3
46+
env:
47+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ import type { DeepgramClientOptions } from "./lib/types";
77
export const createClient = (apiKey: string, options?: DeepgramClientOptions): DeepgramClient => {
88
return new DeepgramClient(apiKey, options);
99
};
10+
11+
export * from "./lib/types";
12+
export * from "./lib/enums";

0 commit comments

Comments
 (0)