Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/chilly-lines-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@opennextjs/aws": patch
---

fix(ci): pin npm@11.5.1 to fix pre-release workflow

`npm install -g npm@latest` fails on Node 22 with "Cannot find module 'promise-retry'".
6 changes: 5 additions & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ runs:
# Ensure npm 11.5.1 or later is installed
# See https://docs.npmjs.com/trusted-publishers
# Note that pnpm publish runs npm publish
#
# Pinned to 11.5.1 because `npm install -g npm@latest` fails on Node 22
# with "Cannot find module 'promise-retry'" (npm self-upgrade incompatibility).
# TODO: Update node-version to 24 in pre-release.yml instead.
- name: Update npm
shell: bash
run: npm install -g npm@latest
run: npm install -g npm@11.5.1

# Install pnpm. https://github.com/pnpm/action-setup
- uses: pnpm/action-setup@v4
Expand Down
Loading