Skip to content

Provide option to save bodies as JSON objects #1230

Provide option to save bodies as JSON objects

Provide option to save bodies as JSON objects #1230

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
tests:
name: Tests
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20.x # current LTS
- name: Install dependencies
run: npm ci
- name: Install playwright
run: npx playwright install --with-deps
- name: Run lint
run: npm run lint
- name: Run format:check
run: npm run format:check
- name: Run unit tests
run: npm run ut:coverage
- name: Run end to end tests
run: npm run e2e:coverage
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d #v3.1.4
with:
file: ./coverage/lcov.info
flags: ut
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d #v3.1.4
with:
file: ./coverage-e2e/lcov.info
flags: e2e
- name: Build API documentation
run: npm run apidoc