Skip to content

Prepare to Toc service implementation #2421

Prepare to Toc service implementation

Prepare to Toc service implementation #2421

Workflow file for this run

name: Tests
on:
push:
branches: [master]
pull_request:
branches: ['**']
jobs:
test:
name: Node v${{ matrix.node-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [18.x]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
os: ${{ matrix.os }}
cache: 'npm'
- name: Install packages for project
run: npm ci
- name: Run unit tests
run: npm run test
- run: npm run build
- name: Install packages for tests
run: |
cd tests
npm ci
- name: Run integration tests
run: |
cd tests
npm run test