From 7c9ace21d797fb3f3516f50ccea19816c4eb0e1d Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 28 Jun 2022 13:52:17 -0400 Subject: [PATCH] build: pin npm to 8.5.x in release.yml (#350) --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4833574df..a0dca7982 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,11 @@ jobs: with: node-version: "${{ env.NODE_VER }}" + # This is a temporary "hack" to unblock CI/releases, as ideally we should avoid needing to pin NPM to a specific minor version. By doing + # so, we are basically deferring clean up of peer dependencies to a later time. See https://github.com/npm/cli/issues/4664 for more details. + - name: Pin NPM version + run: npm install -g npm@8.5.x + - name: Install dependencies run: npm ci