Skip to content

Extract toc

Extract toc #2211

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
- run: npm run build
- name: Install packages for tests
run: |
cd tests
npm ci
- name: Run tests
run: |
cd tests
npm run test