Schemar CI Action
ActionsTags
(2)GitHub Action for validating structured data
This action works by:
- Checking the supplied URL features structured data using the Schema.org validator
- If no structured data is found, the action fails. It also fails if the structured data is invalid.
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: johnnyreilly/[email protected]
with:
urls: https://johnnyreilly.com
name: Validate structured data
on:
pull_request: ~
push:
branches:
- main
To develop this GitHub Action, you'll need Node.js 20 and pnpm. Then install the dependencies:
pnpm i
To run the action locally you can either use the debug
script:
pnpm run debug
Or debug in VS Code using the Debug Action
launch configuration.
Whichever you use, you configure inputs using the .env file.
💙 This package was templated with
create-typescript-app
.
Schemar CI Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.