[RN][CI]Update node installation on debian (0.71) (#41277)

This commit is contained in:
Riccardo Cipolleschi
2023-12-19 14:34:47 +00:00
committed by GitHub
parent b0a27d2b4b
commit bdc0ef3466
+9 -1
View File
@@ -1151,7 +1151,15 @@ jobs:
command: |
apt update
apt install -y wget git curl
curl -sL https://deb.nodesource.com/setup_16.x | bash -
apt-get update
apt-get install -y ca-certificates curl gnupg
mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
NODE_MAJOR=16
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
apt-get update
apt install -y nodejs
npm install --global yarn
- checkout