[chore] bump all references to Node 16 (#997)

This commit is contained in:
Lorenzo Sciandra 2022-02-03 14:32:43 +00:00 коммит произвёл GitHub
Родитель f794feb7bf
Коммит 26a7c3e9d4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 10 добавлений и 10 удалений

Просмотреть файл

@ -1,14 +1,14 @@
steps:
- task: UseNode@1
inputs:
version: '12.x'
version: '16.x'
- template: apple-droid-node-patching.yml
parameters:
apply_office_patches: true
# This is currently required as the command task (strangely) always runs elevated ..
# which makes all the files touched by the above patching step unreadable by following non-command tasks without sudo.
# This is currently required as the command task (strangely) always runs elevated ..
# which makes all the files touched by the above patching step unreadable by following non-command tasks without sudo.
# This makes all the files readable.
- task: CmdLine@2
displayName: chmod

Просмотреть файл

@ -9,5 +9,5 @@ steps:
- script: sudo chown -R $(whoami) /usr/local/*
displayName: 'fix node permissions'
- script: brew link node@12 --overwrite --force
displayName: 'ensure node 12'
- script: brew link node@16 --overwrite --force
displayName: 'ensure node 16'

Просмотреть файл

@ -28,11 +28,11 @@ executors:
<<: *defaults
docker:
# Note: Version set separately for Windows builds, see below.
- image: circleci/node:14
- image: circleci/node:16
nodeprevlts:
<<: *defaults
docker:
- image: circleci/node:12
- image: circleci/node:14
reactnativeandroid:
<<: *defaults
docker:
@ -399,7 +399,7 @@ jobs:
- brew_install:
package: watchman
- brew_install:
package: node@12
package: node@16
- run:
name: "Brew: Tap wix/brew"
command: HOMEBREW_NO_AUTO_UPDATE=1 brew tap wix/brew >/dev/null

Просмотреть файл

@ -1,2 +1,2 @@
brew "node@12"
brew "node@16"
brew "watchman"

Просмотреть файл

@ -7,7 +7,7 @@
"license": "MIT",
"repository": "git@github.com:microsoft/react-native-macos.git",
"engines": {
"node": ">=12"
"node": ">=14"
},
"jest-junit": {
"outputDirectory": "reports/junit",