fix: improve run test after review

This commit is contained in:
Alex Varchuk 2021-09-17 16:13:50 +03:00
parent c8f583cea9
commit 7dc7f542b8
3 changed files with 24 additions and 19 deletions

12
.github/workflows/e2e-tests.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: Tests e2e
on: [push]
jobs:
build-and-e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm ci
- run: npm run bundle
- run: npm run e2e

View File

@ -1,19 +0,0 @@
name: Tests
on: [push]
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm ci
- run: npm run bundle
- run: npm test
e2e-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm ci
- run: npm run bundle
- run: npm run e2e

12
.github/workflows/unit-tests.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: Unit Tests
on: [push]
jobs:
build-and-unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: npm ci
- run: npm run bundle
- run: npm test