mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 15:23:44 +08:00
split tests
This commit is contained in:
parent
2753d2d709
commit
11d3cb92d6
@ -1,4 +1,4 @@
|
|||||||
name: Test
|
name: Test Browser
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -12,7 +12,7 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [14.x, 15.x]
|
node-version: [15.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -21,5 +21,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run build
|
- run: npm run test:browser
|
||||||
- run: npm test
|
|
24
.github/workflows/test-node.yml
vendored
Normal file
24
.github/workflows/test-node.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: Test NodeJS
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [master]
|
||||||
|
pull_request:
|
||||||
|
branches: [master]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [15.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
- run: npm install
|
||||||
|
- run: npm run test:node
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
[](https://opencollective.com/konva)
|
[](https://opencollective.com/konva)
|
||||||
[](http://badge.fury.io/js/konva)
|
[](http://badge.fury.io/js/konva)
|
||||||
[](https://github.com/konvajs/konva/actions/workflows/test.ym) [](https://cdnjs.com/libraries/konva)
|
[](https://github.com/konvajs/konva/actions/workflows/test-browser.ym) [](https://cdnjs.com/libraries/konva)
|
||||||
|
|
||||||
Konva is an HTML5 Canvas JavaScript framework that enables high performance animations, transitions, node nesting, layering, filtering, caching, event handling for desktop and mobile applications, and much more.
|
Konva is an HTML5 Canvas JavaScript framework that enables high performance animations, transitions, node nesting, layering, filtering, caching, event handling for desktop and mobile applications, and much more.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user