Skip to content

fix: update renderer for marked v13 #367

fix: update renderer for marked v13

fix: update renderer for marked v13 #367

Workflow file for this run

name: Test all versions
on:
pull_request:
push:
branches:
- master
jobs:
node-compatibility:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['16', '18', '20']
steps:
- uses: actions/checkout@v2
- name: Setup NodeJS ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Run unittests
run: npm test
marked-compatibility:
runs-on: ubuntu-latest
strategy:
matrix:
marked-version:
[
'1.0.x',
'2.0.x',
'3.0.x',
'4.0.x',
'5.0.x',
'6.0.x',
'7.0.x',
'8.0.x',
'9.0.x',
'10.0.x',
'11.0.x',
'12.0.x',
'13.0.x',
]
steps:
- uses: actions/checkout@v2
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Install marked ${{ matrix.marked-version }}
run: npm install --no-save marked@${{ matrix.marked-version }}
- name: Run unittests
run: npm test