feat(core): edit radio 调整 radio 组件 #14
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: test | |
on: | |
push: | |
branches: | |
- 0.0.6 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/actions/checkout | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
# https://github.com/actions/setup-node | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
# https://github.com/pnpm/action-setup | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
# https://pnpm.io/zh/cli/install#--frozen-lockfile | |
- name: Install dependencies | |
run: | | |
pnpm install | |
pnpm test:coverage | |
# 推送各个包的测试报告 | |
# https://github.com/codecov/codecov-action | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: core | |
files: ./packages/core/coverage/coverage-final.json | |
# https://github.com/codecov/codecov-action | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: types | |
files: ./packages/types/coverage/coverage-final.json |