Bump node version from 16 to 18 (#35443)
Summary: Node 18: https://nodejs.org/de/blog/announcements/v18-release-announce/ Node 16 EOL: 2023-09-11 https://nodejs.org/en/blog/announcements/nodejs16-eol/ Node 18 EOL: 2025-04-30 Follow-up - https://github.com/facebook/react-native/pull/34171 - https://github.com/facebook/react-native/pull/32980 Ref - https://github.com/react-native-community/docker-android/pull/187 cc ramonmedel cortinico gengjiawen ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [JavaScript] [Changed] - Bump node version from 16 to 18 Pull Request resolved: https://github.com/facebook/react-native/pull/35443 Test Plan: Everything builds and runs as expected Reviewed By: cipolleschi Differential Revision: D41531161 Pulled By: cortinico fbshipit-source-id: 305888f55ed179f75bef34548aebf22fc2951308
This commit is contained in:
Родитель
5aead70e80
Коммит
f75b92a12b
|
@ -39,8 +39,8 @@ references:
|
|||
# -------------------------
|
||||
dependency_versions:
|
||||
xcode_version: &xcode_version "14.0.1"
|
||||
nodelts_image: &nodelts_image "cimg/node:16.14"
|
||||
nodeprevlts_image: &nodeprevlts_image "cimg/node:14.19"
|
||||
nodelts_image: &nodelts_image "cimg/node:18.12.1"
|
||||
nodeprevlts_image: &nodeprevlts_image "cimg/node:16.18.1"
|
||||
|
||||
# -------------------------
|
||||
# Cache Key Anchors
|
||||
|
@ -568,7 +568,7 @@ jobs:
|
|||
- run:
|
||||
name: Configure Environment Variables
|
||||
command: |
|
||||
echo 'export PATH=/usr/local/opt/node@16/bin:$PATH' >> $BASH_ENV
|
||||
echo 'export PATH=/usr/local/opt/node@18/bin:$PATH' >> $BASH_ENV
|
||||
source $BASH_ENV
|
||||
|
||||
- run:
|
||||
|
|
|
@ -1 +1 @@
|
|||
16
|
||||
18
|
||||
|
|
|
@ -1 +1 @@
|
|||
16
|
||||
18
|
||||
|
|
Загрузка…
Ссылка в новой задаче