Skip to content

Commit

Permalink
Fix github action for validating JSON resources
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-md committed Mar 21, 2024
1 parent 377bf8a commit 4a28919
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/resource-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,10 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '20.x'
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Install dependencies
run: pnpm install
- uses: reviewdog/action-setup@v1
with:
reviewdog_version: latest
- name: Validate resource hub JSON files
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm validate-resources | reviewdog -f=checkstyle -name="Validate Resources" -reporter=github-pr-check -fail-on-error=true
run: node .github/scripts/validate-resources | reviewdog -f=checkstyle -name="Validate Resources" -reporter=github-pr-check -fail-on-error=true

0 comments on commit 4a28919

Please sign in to comment.