diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 57d398ff..f2b18eaa 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -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