fix(dock): collapse panel size when no content is displayed (#363) #1317
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 | |
| - name: Set node | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e | |
| with: | |
| node-version: lts/* | |
| - name: Setup | |
| run: npm i -g @antfu/ni | |
| - name: Install | |
| run: nci | |
| - name: Lint | |
| run: nr lint | |
| - name: Build | |
| run: nr build | |
| - name: Typecheck | |
| run: nr typecheck | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| node: | |
| - lts/* | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| - macos-latest | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 | |
| - name: ${{ format('Set node {0}', matrix.node) }} | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: Setup | |
| run: npm i -g @antfu/ni | |
| - name: Install | |
| run: nci | |
| - name: Build | |
| run: nr build | |
| - name: Test | |
| run: nr test | |
| e2e: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 | |
| - name: Set node | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e | |
| with: | |
| node-version: lts/* | |
| - name: Setup | |
| run: npm i -g @antfu/ni | |
| - name: Install | |
| run: nci | |
| - name: Build | |
| run: nr build | |
| - name: Install Chromium | |
| run: pnpm -C e2e exec playwright-core install --with-deps chromium | |
| - name: E2E | |
| run: nr test:e2e |