Skip to content

Validate resources

Validate resources #2

name: Validate resource hub JSON on PR
on: pull_request
jobs:
generate-supported-networks:
runs-on: ubuntu-latest
steps:
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: '20.x'
- uses: reviewdog/action-setup@v1
with:
reviewdog_version: latest
- name: Validate resource hub JSON files
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: node .github/scripts/validate-resources | reviewdog -f=checkstyle -name="Validate Resources" -reporter=github-pr-check -fail-on-error=true