Skip to content

Commit 3407cf1

Browse files
authored
fix: ensure a modern-enough npm is installed for npmjs.com trusted publishing (#399)
per nodejs/nodejs.org#8091 we need to do a little extra work to make sure npm is new enough, since pnpm uses it behind the scenes to publish to the npm repository also tweak the README to get a test release of core
1 parent 5345057 commit 3407cf1

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ jobs:
3939

4040
- name: Install
4141
uses: pnpm/action-setup@v4
42+
43+
- name: Ensure NPM Version for OIDC
44+
# NPM OIDC Trusted Publishing requires npm >=11.5.1.
45+
# See https://github.com/nodejs/nodejs.org/pull/8091
46+
run: npm install -g npm@11
4247

4348
- name: Setup
4449
uses: actions/setup-node@v4

packages/core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ const AddFile = capability({
3131
});
3232
```
3333

34-
For more details, see the [`ucanto` documentation](https://github.com/storacha/ucanto).
34+
For more details, see the [`ucanto` documentation](https://github.com/storacha/ucanto).

0 commit comments

Comments
 (0)