Skip to content

Bump markdownlint-cli2 from 0.16.0 to 0.17.1 #403

Bump markdownlint-cli2 from 0.16.0 to 0.17.1

Bump markdownlint-cli2 from 0.16.0 to 0.17.1 #403

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
test:
name: Run tests and upload coverage reports
strategy:
matrix:
node-version: [20.x, 22.x]
os: [ubuntu-latest, windows-latest]
test-set: [ava]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- name: Generate coverage report with ${{ matrix.test-set }}
run: npm run test-cover:${{ matrix.test-set }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/lcov.info
flags: unit,${{ matrix.test-set }},${{ matrix.os }}
fail_ci_if_error: true
verbose: true