[v1] feat(design): Filter add allowClear prop + Filter.Cascader passthrough props to Cascader.Panel #2202
This file contains hidden or 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: Preview Build | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| # Cancel previous CI if the PR is updated. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-site: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v2 | |
| with: | |
| version: 8.6.0 | |
| - name: Build site | |
| env: | |
| SITE_ENV: development | |
| run: | | |
| pnpm install | |
| pnpm run site:build | |
| # avoid deploy failed by `:id` directory | |
| # ref: https://github.com/actions/upload-artifact/issues/85 | |
| - name: Remove dynamic route path | |
| run: | | |
| rm -rf site/~demos/:id | |
| - name: Upload site artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: site | |
| path: site/ | |
| retention-days: 5 |