fix!: destroy chart instance when disconnected from the DOM (#7785) (CP: 23.5) #7330
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: Unit tests | |
on: pull_request | |
permissions: | |
contents: read | |
jobs: | |
chrome: | |
name: Chrome | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: '0' | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'yarn' | |
- name: Install Dependencies | |
run: yarn --frozen-lockfile --no-progress --non-interactive | |
- name: Test | |
run: yarn test | |
firefox: | |
name: Firefox | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: '0' | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'yarn' | |
- name: Install Dependencies | |
run: yarn --frozen-lockfile --no-progress --non-interactive | |
- name: Install Playwright | |
run: npx playwright install-deps firefox | |
- name: Test | |
run: yarn test:firefox | |
webkit: | |
name: WebKit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: '0' | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'yarn' | |
- name: Install Dependencies | |
run: yarn --frozen-lockfile --no-progress --non-interactive | |
- name: Install Playwright | |
run: npx playwright install-deps webkit | |
- name: Test | |
run: yarn test:webkit |