From a3469d8038b12d1f4f793decb5aca20a0863f122 Mon Sep 17 00:00:00 2001 From: Marcin Gordel Date: Mon, 18 Mar 2024 12:04:51 +0100 Subject: [PATCH] build(ci): fixed bug with incorrectly reported attestation for npm < 10.5.0 --- .github/workflows/release.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 645a562..2c8111f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,6 +65,15 @@ jobs: # Semantic release requires this as bare minimum node-version: 20 + # Why this? https://github.com/npm/cli/issues/7279 + # Why this way? https://github.com/actions/setup-node/issues/213 + - name: Install latest npm + shell: bash + run: | + npm install -g npm@latest && + npm --version && + npm list -g --depth 0 + - name: Install dependencies run: npm install