Skip to content

Fix handling at canvas edge (#898) #551

Fix handling at canvas edge (#898)

Fix handling at canvas edge (#898) #551

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: install
run: npm ci
- name: lint
run: npm run lint
- name: build
run: npm run build
- name: test
run: |
if [ "${{ runner.os }}" == "Windows" ]; then
npm test
else
xvfb-run --auto-servernum npm test
fi
shell: bash
- name: Coveralls Parallel - Chrome
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: './coverage/chrome/lcov.info'
flag-name: ${{ matrix.os }}-chrome
parallel: true
- name: Coveralls Parallel - Firefox
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: './coverage/firefox/lcov.info'
flag-name: ${{ matrix.os }}-firefox
parallel: true
finish:
needs: ci
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true