Skip to content

Use Map over Array for storing listeners in Event Manager #43

Use Map over Array for storing listeners in Event Manager

Use Map over Array for storing listeners in Event Manager #43

name: Run tests
on:
push:
branches:
- '*'
- '!master'
paths:
- 'compile.*'
- 'source/**'
- 'test/**'
pull_request:
paths:
- 'compile.*'
- 'source/**'
- 'test/**'
workflow_dispatch:
jobs:
test:
name: ${{ matrix.os }}, node ${{ matrix.node-version }}, ${{ matrix.browser }}
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, 'skip ci')"
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [16.x, 18.x, 19.x]
browser: [chromium]
steps:
- name: checkout
uses: actions/checkout@v2
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: install dependencies
run: npm ci
- name: install and run tests with ${{ matrix.browser }}
run: npm test -- --browsers=${{ matrix.browser }} --terse --headless --set-env qx.test.delay.scale=10