fix: Search backward and forward for leaf nodes in non contenteditable elements #4309
Workflow file for this run
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 | |
| - pull_request | |
| permissions: | |
| contents: read # to fetch code (actions/checkout) | |
| jobs: | |
| ci: | |
| name: ${{ matrix.command }} | |
| # Pin the version to avoid dependency installation issues | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| matrix: | |
| command: | |
| - 'test' | |
| - 'test:integration' | |
| - 'lint:eslint' | |
| - 'lint:prettier' | |
| - 'lint:typescript' | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Setup node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.17 | |
| cache: yarn | |
| - name: Run ${{ matrix.command }} | |
| run: yarn && yarn build && yarn ${{ matrix.command }} | |
| env: | |
| CI: true | |
| - name: Upload Playwright test results | |
| if: ${{ !cancelled() && matrix.command == 'test:integration' }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-results | |
| path: test-results | |
| retention-days: 30 |