Skip to content

ci: exclude coverage #118

ci: exclude coverage

ci: exclude coverage #118

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
e2e-tests:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm i
- 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: [ 18, 20 ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm i
- run: npm test
- name: Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci
- run: npm run lint