Skip to content

Commit

Permalink
Merge pull request #108 from biothings/typescript
Browse files Browse the repository at this point in the history
Migrate to new build system/support typescript migration
  • Loading branch information
tokebe authored Oct 24, 2023
2 parents b994a4c + 2e50763 commit f8c4629
Show file tree
Hide file tree
Showing 15 changed files with 266 additions and 16,487 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/coverage.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/test_cov.yml

This file was deleted.

22 changes: 14 additions & 8 deletions .github/workflows/test_ws_codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,24 @@ jobs:
- uses: actions/checkout@v3
with:
repository: biothings/biothings_explorer
ref: ${{ steps.branch-name.outputs.current_branch }}

- name: Use Node.js 16.x
uses: actions/setup-node@v1
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x

- name: npm install, generate coverage report
- name: Use pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: pnpm install, generate coverage report
run: |
npm run clone
npm run git checkout ${{ steps.branch-name.outputs.current_branch }}
npm i || true && npm i
npm run test-cov --workspace=biomedical_id_resolver
pnpm run clone
pnpm run git checkout ${{ steps.branch-name.outputs.current_branch }}
pnpm i
pnpm --filter biomedical_id_resolve test-cov
- name: Send coverage report to codecov for visualization
uses: codecov/codecov-action@v3
Expand Down
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ jspm_packages/
# TypeScript v1 declaration files
typings/

# Typescript building
tsconfig.tsbuildinfo

# Turbo cache
.turbo

# Optional npm cache directory
.npm

Expand All @@ -62,4 +68,4 @@ typings/

kevin.js

built/
built/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ js library for resolving biological ids to their equivalent ids in batch
## Install

```
$ npm i biomedical_id_resolver
$ pnpm i biomedical_id_resolver
```

## Usage
Expand Down
Loading

0 comments on commit f8c4629

Please sign in to comment.