chore: update text editor link preview story to prevent previews being added on focus #13090
Workflow file for this run
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: pull_request | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ">=18.12.1 18" | |
- run: npm ci | |
- run: npx prettier --check './src/**/*.{js,jsx,ts,tsx}' | |
- run: npm run lint | |
- run: npm run type-check | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ["16.x", "18.x"] | |
shard: [1, 2, 3, 4] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm ci | |
- run: | | |
npm test -- --ci --maxWorkers=4 --shard=${{ matrix.shard }} --colors | |
env: | |
CONTAINER: ${{ matrix.shard }} |