diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index f0b2c16d2..ad1c9f7d2 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -35,9 +35,6 @@ jobs: node-version: ${{ matrix.node-version }} cache: "npm" - - name: Use latest NPM - run: sudo npm i -g npm - - name: Install dependencies run: npm ci @@ -73,14 +70,6 @@ jobs: node-version: ${{ matrix.node-version }} cache: "npm" - - name: Use latest NPM on ubuntu/macos - if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' - run: sudo npm i -g npm - - - name: Use latest NPM on windows - if: matrix.os == 'windows-latest' - run: npm i -g npm - - name: Install dependencies run: npm ci