Skip to content

explicitly define type of processer is for mdast tree in type definition #78

explicitly define type of processer is for mdast tree in type definition

explicitly define type of processer is for mdast tree in type definition #78

Workflow file for this run

name: CI
on: [push, pull_request]
env:
TERM: xterm
jobs:
test:
name: Unit tests
runs-on: ubuntu-latest
strategy:
matrix:
node: ['14', '16', '18']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm install -g npm
if: ${{ matrix.node == '14' }}
- run: npm ci
- run: npm test
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
cache: npm
- run: npm ci
- run: npm run lint