Skip to content

Commit

Permalink
Add GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtimebuddy committed Apr 24, 2020
1 parent dd683d9 commit daa7d88
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Node.js CI
on:
push:
branches: [ '*' ]
release:
types: [ 'created' ]
pull_request:
branches: [ '*' ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 10.x, 12.x ]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Built and Test
run: npm test
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# PixiJS HTMLText

[![Node.js CI](https://github.com/pixijs/pixi-html-text/workflows/Node.js%20CI/badge.svg)](https://github.com/pixijs/pixi-html-text/actions?query=workflow%3A%22Node.js+CI%22)

An alternative to `PIXI.Text` that works with PixiJS v5 (both WebGL and Canvas), however, it has some advantages:

* Supports HTML tags for styling such as `<strong>`, or `<em>`, as well as `<span style="">`
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"build:dev": "rollup -c",
"demo": "run-p watch serve",
"lint": "eslint src",
"test": "run-s lint build",
"postversion": "git push && git push --tags",
"prepublish": "run-s lint clean build",
"docs": "jsdoc -c jsdoc.json -R README.md",
Expand Down

0 comments on commit daa7d88

Please sign in to comment.