Skip to content

moved tests

moved tests #13

Workflow file for this run

name: Test Matrix
on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
antora-version: ['3.1.10', '3.2.0-alpha.8']
asciidoctor-version: ['~2.2', '~3.0']
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Install specific Antora version
run: npm install @antora/cli@${{ matrix.antora-version }} @antora/site-generator@${{ matrix.antora-version }}
- name: Install specific Asciidoctor version
run: npm install @asciidoctor/core@${{ matrix.asciidoctor-version }}
- name: Run tests
run: npm test