Update to use latest npm CLI release
The new version has provenance support built in. https://github.com/npm/cli/pull/6163
This commit is contained in:
Родитель
2b67bdbc93
Коммит
81789b69da
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче