Skip to content

Commit

Permalink
fix: add types (#77)
Browse files Browse the repository at this point in the history
* add index.d.ts

* update package-lock.json file

* TestTypes automation

---------

Co-authored-by: TaoTao-GStarCAD <[email protected]>
  • Loading branch information
sinotaotao and TaoTao-GStarCAD authored Aug 10, 2023
1 parent df6c5f2 commit 6b5cf8e
Show file tree
Hide file tree
Showing 5 changed files with 389 additions and 3 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ jobs:
- name: Run Tests πŸ‘©πŸ½β€πŸ’»
run: npm run test

TestTypes:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: '*'
- name: Install Dependencies
run: npm ci
- name: Run Types Tests πŸ‘©πŸ½β€πŸ’»
run: npm run test:types

Coverage:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -64,7 +78,7 @@ jobs:
run: npm run build

Release:
needs: [Test, Coverage, Lint, Build]
needs: [Test, TestTypes, Coverage, Lint, Build]
if: |
github.ref == 'refs/heads/main' &&
github.event.repository.fork == false
Expand Down
Loading

0 comments on commit 6b5cf8e

Please sign in to comment.