Skip to content

bigtimebuddy/pixi-node-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@pixi/node Example

This is a simple hello world example of using @pixi/node. This package is a lot like pixi.js, but excludes the DOM-specific behaviors, including interaction, accessibility.

GitHub Actions

@pixi/node can be run on GitHub Actions. There's a complete example here in nodejs.yml. There are two essential ingredients:

  • Installing the canvas dependencies as described in node-canvas
  • Running with xvfb

For example:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Install Canvas Dependencies
      run: sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev xvfb
    # <-- checkout, install node, etc here
    - name: Execute
      run: xvfb-run --auto-servernum node .

Node: See GitHub Actions documentation for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published