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