chore: prepare release of version 0.10.2 of the Rust crate (#160) #47
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
name: TypeScript | |
on: | |
pull_request: | |
paths: | |
- js/** | |
- .github/workflows/typescript.yml | |
push: | |
branches: | |
- master | |
permissions: | |
contents: read | |
concurrency: | |
group: ts-ci-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run test suite | |
working-directory: ./js | |
run: yarn && yarn test | |
coverage: | |
name: Code Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Generate code coverage | |
working-directory: ./js | |
run: yarn && yarn coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
files: js/coverage/lcov.info | |
flags: typescript | |
fail_ci_if_error: true |