From 81789b69da058a38f499688120339cabf34ed31d Mon Sep 17 00:00:00 2001 From: Philip Harrison Date: Wed, 15 Feb 2023 17:20:42 +0000 Subject: [PATCH] Update to use latest npm CLI release The new version has provenance support built in. https://github.com/npm/cli/pull/6163 --- .github/workflows/release.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6deff14a..ae8dafbf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,18 +37,7 @@ jobs: with: node-version: '19.x' registry-url: 'https://registry.npmjs.org' - - name: Clone npm - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3 - with: - repository: npm/cli - ref: provenance - path: npm - - name: Link npm - run: | - cd npm - node . link - cd .. - npm version + - run: npm install -g npm@latest - run: npm ci - run: make test - run: make clean build