Skip to content

fix(web_companion): TypeScript-Cast für relatedTarget in handleDragLeave #20

fix(web_companion): TypeScript-Cast für relatedTarget in handleDragLeave

fix(web_companion): TypeScript-Cast für relatedTarget in handleDragLeave #20

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
jobs:
self-test:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.12"
- "3.13"
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python -m pip install -r requirements.txt pytest
- name: Compile
run: python -m py_compile main.py
- name: Run self-test
env:
PYTHONIOENCODING: utf-8
run: python main.py --self-test
- name: Run pytest
env:
PYTHONIOENCODING: utf-8
run: python -m pytest -q
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: "22"
cache: npm
cache-dependency-path: web_companion/package-lock.json
- name: Build web companion
working-directory: web_companion
run: |
npm ci
npm run build