Skip to content

✨ Added optional onDraw method to play to run after the _render call. #517

✨ Added optional onDraw method to play to run after the _render call.

✨ Added optional onDraw method to play to run after the _render call. #517

Workflow file for this run

name: Node CI
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [15.x, 16.x, 17.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Update npm
run: |
npm i -g npm@^7.x
- name: Install npm dependencies
run: |
npm ci
node node_modules/puppeteer/install.js
env:
CI: true
- name: lint code
run: npm run lint
env:
CI: true
- name: compile project
run: npm run build
env:
CI: true
- name: run unit tests
run: xvfb-run --auto-servernum npm run test:unit
env:
CI: true
- name: run smoke tests
run: xvfb-run --auto-servernum npm run test:smoke
env:
CI: true