chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 (#234) #10
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: Tests | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
report-test-coverage: | |
name: Report test coverage on push | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
node-version: 16 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
run_install: | | |
- recursive: true | |
args: [--frozen-lockfile] | |
- name: Run tests and generate coverage report | |
run: pnpm test | |
timeout-minutes: 5 | |
- name: Upload coverage for Web package | |
if: success() | |
uses: codecov/codecov-action@v3 | |
timeout-minutes: 5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: packages/web/coverage/coverage-final.json | |
flags: web | |
- name: Upload coverage for Mobile package | |
if: success() | |
uses: codecov/codecov-action@v3 | |
timeout-minutes: 5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: packages/mobile/coverage/coverage-final.json | |
flags: mobile |