Skip to content

Commit

Permalink
fix GitHub action for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
norbertschuler committed Jan 11, 2025
1 parent bdfcddb commit 2eb3d75
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@ jobs:
name: 'ESLint on Ubuntu'
runs-on: ubuntu-latest # Can be self-hosted runner also
steps:

- name: 'Checkout the repository'
uses: actions/checkout@v2

- name: Upgrade npm to latest version
run: sudo npm i -g npm@latest
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'

- name: 'Install Node Modules'
run: npm install
run: npm install --legacy-peer-deps

- name: 'Running ESLint only showing errors'
run: npm run lint:errors

0 comments on commit 2eb3d75

Please sign in to comment.