Skip to content

Commit

Permalink
feat: export types and enums from main module (#167)
Browse files Browse the repository at this point in the history
* feat: export enums and types from the main module

* fix: fix CI workflow not finding coverage report

* chore: switch from coveralls to codecov
  • Loading branch information
lukeocodes authored Oct 7, 2023
1 parent b6b5a85 commit 4dc4125
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ jobs:
npm clean-install
npm run test:coverage
- name: Upload coverage results to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./test/coverage/lcov.info
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ import type { DeepgramClientOptions } from "./lib/types";
export const createClient = (apiKey: string, options?: DeepgramClientOptions): DeepgramClient => {
return new DeepgramClient(apiKey, options);
};

export * from "./lib/types";
export * from "./lib/enums";

0 comments on commit 4dc4125

Please sign in to comment.