Skip to content

0.6.3

0.6.3 #178

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
e2e-tests:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- run: npm i
- run: docker-compose up -d blog
- run: npx wait-on http://localhost:9000 -t 30000
- run: docker-compose run --rm e2e-tests 2>&1
- run: docker-compose logs blog
if: failure()
- run: docker-compose logs e2e-tests
if: failure()
unit-tests:
runs-on: [ ubuntu-latest ]
strategy:
matrix:
node: [ 12, 14 ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm i
- run: npm test
- name: Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}