diff --git a/.github/workflows/js-tests.yml b/.github/workflows/js-tests.yml index 7c02eefc7f64..650ce9efb422 100644 --- a/.github/workflows/js-tests.yml +++ b/.github/workflows/js-tests.yml @@ -28,7 +28,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Setup npm - run: npm i -g npm@10.2.x + run: npm i -g npm@10.5.x - name: Install Firefox 123.0 run: | diff --git a/.github/workflows/static-assets-check.yml b/.github/workflows/static-assets-check.yml index 2d5644b700e8..fb00accec540 100644 --- a/.github/workflows/static-assets-check.yml +++ b/.github/workflows/static-assets-check.yml @@ -15,7 +15,7 @@ jobs: os: [ ubuntu-20.04 ] python-version: [ 3.8 ] node-version: [ 18 ] - npm-version: [ 10.2.x ] + npm-version: [ 10.5.x ] mongo-version: ["4.4", "7.0"] services: diff --git a/Dockerfile b/Dockerfile index 8b29cf09daad..65531cbcf537 100644 --- a/Dockerfile +++ b/Dockerfile @@ -115,7 +115,7 @@ RUN pip install -r requirements/edx/base.txt # Install node and npm RUN nodeenv /edx/app/edxapp/nodeenv --node=18.19.0 --prebuilt -RUN npm install -g npm@10.2.x +RUN npm install -g npm@10.5.x # This script is used by an npm post-install hook. # We copy it into the image now so that it will be available when we run `npm install` in the next step.