split tests

This commit is contained in:
Anton Lavrenov
2021-05-05 14:50:15 -05:00
parent 2753d2d709
commit 11d3cb92d6
3 changed files with 28 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
name: Test
name: Test Browser
on:
push:
@@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
node-version: [14.x, 15.x]
node-version: [15.x]
steps:
- uses: actions/checkout@v2
@@ -21,5 +21,4 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build
- run: npm test
- run: npm run test:browser

24
.github/workflows/test-node.yml vendored Normal file
View 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