mirror of
https://github.com/react/react-native.git
synced 2026-09-28 13:23:09 +08:00
Run npm publish with Node 24 / npm 11.5 for trusted publish support (#57269)
Summary: Pull Request resolved: https://github.com/react/react-native/pull/57269 Trusted publish support requires `npm` CLI version >=11.5.1 ([docs](https://docs.npmjs.com/trusted-publishers)), which is bundled with Node 24. This bumps the Node version for just those jobs that call `npm publish`. Changelog: [Internal] Reviewed By: fabriziocucci Differential Revision: D109009971 fbshipit-source-id: 6e7f412c6da0e5e5749a29e789f8c2e67610d7b0
This commit is contained in:
committed by
meta-codesync[bot]
parent
45b13a1013
commit
65bdf26083
@@ -42,6 +42,7 @@ runs:
|
||||
- name: Setup node.js
|
||||
uses: ./.github/actions/setup-node
|
||||
with:
|
||||
node-version: '24'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- name: Install dependencies
|
||||
uses: ./.github/actions/yarn-install
|
||||
|
||||
@@ -203,6 +203,7 @@ jobs:
|
||||
- name: Setup node.js
|
||||
uses: ./.github/actions/setup-node
|
||||
with:
|
||||
node-version: "24"
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
# TEMPORARY DEBUG: print the OIDC token claims npm Trusted Publishing
|
||||
# matches against. A 404 from the OIDC exchange means these claims don't
|
||||
|
||||
Reference in New Issue
Block a user