Skip to content

Commit

Permalink
Update node installation on debian (#41276)
Browse files Browse the repository at this point in the history
Co-authored-by: fortmarek <[email protected]>
  • Loading branch information
cipolleschi and fortmarek authored Nov 3, 2023
1 parent 945c429 commit 3e23e14
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,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
Expand Down

0 comments on commit 3e23e14

Please sign in to comment.