Skip to content

Commit

Permalink
fix eslint action
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidsector9 committed Feb 19, 2024
1 parent 3e895c4 commit 0aaf780
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
- name: Install Node dependencies
run: npm ci --omit=optional

- name: Install eslint-plugin-prettier v5.0.0 # Do this to get around a bug in the version that @10up/eslint-config requires.
run: npm install eslint-plugin-prettier@^5.0.0

- name: Get updated JS files
id: changed-files
uses: tj-actions/changed-files@v41
Expand All @@ -42,5 +39,4 @@ jobs:
- name: Run JS linting
if: ${{ steps.changed-files.outputs.any_changed == 'true' }}
run: |
npx 10up-toolkit lint-js ${{ steps.changed-files.outputs.all_changed_files }}
run: ./node_modules/.bin/10up-toolkit lint-js ${{ steps.changed-files.outputs.all_changed_files }}

0 comments on commit 0aaf780

Please sign in to comment.