Skip to content

Bugfix: console errors on unmount #1

Bugfix: console errors on unmount

Bugfix: console errors on unmount #1

Workflow file for this run

name: CI
on:
push:
branches: [master, main]
pull_request:
jobs:
test-and-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
# ubuntu-latest ships Google Chrome and a matching ChromeDriver; expose
# the driver on PATH so selenium (pinned <=4.2.0, no Selenium Manager)
# can find it.
- name: Put ChromeDriver on PATH
run: echo "$CHROMEWEBDRIVER" >> "$GITHUB_PATH"
- name: Install Python dependencies
run: pip install -r requirements-dev.txt
- name: Lint with flake8
run: npm run lint
- name: Build package
run: |
npm install
npm run build
- name: Run tests
run: npm run test -- --headless
- name: Run tests using React 18
run: npm run test -- --headless
env:
REACT_VERSION: 18.2.0