Skip to content

A GitHub Action that registers a problem matcher for htmllint's report format

License

Notifications You must be signed in to change notification settings

Cherry/htmllint-problem-matcher

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Problem Matcher for htmllint

CI Workflow Status

Adds a problem matcher that will detect errors from htmllint and create annotations for them.

Usage

on: push
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-node@v3
          with:
            node-version: "16.x"
      - uses: Cherry/htmllint-problem-matcher@v1
      - run: npm ci
      - run: npm test

Options

Name Allowed values Description
action add (default), remove If the problem matcher should be registered or removed