test: 新增Ellipsis测试文件 #88
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: CI | |
on: [push, pull_request] | |
jobs: | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/[email protected] | |
with: | |
version: latest | |
- name: Install modules | |
run: pnpm install | |
- name: Run Lint components | |
run: cd packages/nice2cu-ui && pnpm run lint | |
UnitTest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/[email protected] | |
with: | |
version: latest | |
- name: Install modules | |
run: pnpm install | |
- name: Run Test Components | |
run: cd packages/nice2cu-ui && pnpm run test | |
PreBuild: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/[email protected] | |
with: | |
version: latest | |
- name: Install modules | |
run: pnpm install | |
- name: Run Build Components | |
run: cd packages/nice2cu-ui && pnpm run build |