-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from biothings/typescript
Migrate to new build system
- Loading branch information
Showing
11 changed files
with
145 additions
and
6,241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | ||
|
||
name: Test | ||
|
||
on: ["push", "pull_request"] | ||
|
||
jobs: | ||
build: | ||
name: Generate coverage report | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Get branch name | ||
id: branch-name | ||
uses: tj-actions/branch-names@v6 | ||
|
||
- uses: actions/checkout@v3 | ||
with: | ||
repository: biothings/biothings_explorer | ||
ref: ${{ steps.branch-name.outputs.current_branch }} | ||
|
||
- name: Use Node.js 18.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
|
||
- name: Use pnpm | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
|
||
- name: pnpm install, generate coverage report | ||
run: | | ||
pnpm run clone | ||
pnpm run git checkout ${{ steps.branch-name.outputs.current_branch }} | ||
pnpm i | ||
pnpm --filter node-expansion test-cov | ||
- name: Send coverage report to codecov for visualization | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
# working-directory: ./packages/@biothings-explorer/bte-trapi | ||
files: ./coverage/lcov.info | ||
verbose: true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,4 +130,7 @@ dist | |
.yarn/unplugged | ||
.yarn/build-state.yml | ||
.yarn/install-state.gz | ||
.pnp.* | ||
.pnp.* | ||
|
||
# Built output | ||
built |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.