Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

AMP validator #5

Open
qertis opened this issue Jan 7, 2023 · 0 comments
Open

AMP validator #5

qertis opened this issue Jan 7, 2023 · 0 comments

Comments

@qertis
Copy link
Owner

qertis commented Jan 7, 2023

package.json

"amphtml-validator": "1.0.35",
  echo 'AMP validating...'
  if amphtml-validator ./www/"$item" --format json | grep -q '"status":"FAIL"'
    then
      echo "fail" $item
      exit 1
    else
      echo "ok" $item
  fi
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant