name: Validate libraries.json

on: pull_request

jobs:
  validation:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - name: Setup Node.js 14.x
        uses: actions/setup-node@v2
        with:
          node-version: 14.x
      - name: Validate libraries.json
        run: |
          yarn validate:libraries
