From 4a28919374e16d8493265ee16d27f4df4ebadda4 Mon Sep 17 00:00:00 2001 From: louis-md Date: Thu, 21 Mar 2024 14:27:47 +0100 Subject: [PATCH] Fix github action for validating JSON resources --- .github/workflows/resource-check.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/resource-check.yml b/.github/workflows/resource-check.yml index 9eba1615..8be79785 100644 --- a/.github/workflows/resource-check.yml +++ b/.github/workflows/resource-check.yml @@ -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 \ No newline at end of file + run: node .github/scripts/validate-resources | reviewdog -f=checkstyle -name="Validate Resources" -reporter=github-pr-check -fail-on-error=true \ No newline at end of file