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
62 62
63 - name: Update npm for trusted publishing63 - name: Update npm for trusted publishing
64 run: |64 run: |
65 npm install -g npm@latest65 # 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
66 npm --version68 npm --version
67 69
68 - name: Install dependencies70 - name: Install dependencies
.github/workflows/release.yml+3−1
@@ -42,7 +42,9 @@ jobs: · 41 unmodified lines
42 42
43 - name: Update npm for trusted publishing43 - name: Update npm for trusted publishing
44 run: |44 run: |
45 npm install -g npm@latest45 # 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
46 npm --version48 npm --version
47 49
48 - name: Install dependencies50 - 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