Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
command

GitHub Action

Problem Matcher for htmllint

v1.3.0

Problem Matcher for htmllint

command

Problem Matcher for htmllint

Sets up a problem matcher for htmllint that's used to create annotations for violations

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Problem Matcher for htmllint

uses: Cherry/[email protected]

Learn more about this action in Cherry/htmllint-problem-matcher

Choose a version

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@v2
      - uses: actions/setup-node@v1
          with:
            node-version: "12.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