chore(release): publish #507
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: Upload coverage to Codecov | |
on: | |
push: | |
branches: | |
- main # Change this to your default branch | |
pull_request: | |
branches: | |
- main # Change this to your default branch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Install modules | |
run: yarn install --registry=https://registry.npmjs.org | |
- name: Build modules | |
run: yarn build | |
- name: Run Test | |
run: yarn test | |
- name: Upload Kit coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
override_branch: kit | |
directory: ./packages/tuya-panel-kit/coverage/ | |
- name: Upload Utils coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
override_branch: Utils | |
directory: ./packages/tuya-panel-utils/coverage/ |