History

Pin release workflows to npm 11 (#1379)

Rhys Sullivan committed 4 months agov1.5.30

Commit dee68b31 parent faefc1f2 files · +6 −2Browse files

Unified · Split

2 files
  1. .github/workflows/publish-executor-package.yml +3 −1
  2. .github/workflows/release.yml +3 −1
.github/workflows/publish-executor-package.yml+3−1
@@ -62,7 +62,9 @@ jobs: · 61 unmodified lines
6262
6363 - name: Update npm for trusted publishing
6464 run: |
65− npm install -g npm@latest
65+ # npm 12.0.0 fails `publish --provenance` with "Cannot find module
66+ # 'sigstore'" (npm/cli#9722); 11.x supports trusted publishing and works.
67+ npm install -g npm@11
6668 npm --version
6769
6870 - name: Install dependencies
.github/workflows/release.yml+3−1
@@ -42,7 +42,9 @@ jobs: · 41 unmodified lines
4242
4343 - name: Update npm for trusted publishing
4444 run: |
45− npm install -g npm@latest
45+ # npm 12.0.0 fails `publish --provenance` with "Cannot find module
46+ # 'sigstore'" (npm/cli#9722); 11.x supports trusted publishing and works.
47+ npm install -g npm@11
4648 npm --version
4749
4850 - name: Install dependencies

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t