Skip to content

Commit

Permalink
Merge pull request #2346 from Plant-for-the-Planet-org/hotfix/eslint-…
Browse files Browse the repository at this point in the history
…workflow

Update ESLint workflow to use Node.js setup action and specify versions
  • Loading branch information
mohitb35 authored Jan 2, 2025
2 parents b338449 + e78ea6c commit 29a966d
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 @@ -8,14 +8,15 @@ on:
jobs:
ubuntu-job:
name: 'ESLint on Ubuntu'
runs-on: ubuntu-latest # Can be self-hosted runner also
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 --legacy-peer-deps
Expand Down

0 comments on commit 29a966d

Please sign in to comment.