Skip to content

Commit

Permalink
chore: update ESLint workflow to use Node.js setup action and specify…
Browse files Browse the repository at this point in the history
… versions
  • Loading branch information
mohitb35 committed Jan 2, 2025
1 parent b338449 commit ceba590
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ 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'
npm-version: '9.x'

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

0 comments on commit ceba590

Please sign in to comment.