This commit is contained in:
parent
4a580b599a
commit
3e2cc350be
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ pipeline:
|
||||||
- apt-get install -y ca-certificates curl gnupg tar wget
|
- apt-get install -y ca-certificates curl gnupg tar wget
|
||||||
- mkdir -p /etc/apt/keyrings
|
- mkdir -p /etc/apt/keyrings
|
||||||
- curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
- curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
||||||
- NODE_MAJOR=18 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
|
- echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
|
||||||
- apt-get -y install nodejs npm
|
- apt-get -y install nodejs npm
|
||||||
- npm install --global yarn
|
- npm install --global yarn
|
||||||
- apt update && apt-get -y --no-install-recommends install nodejs tar gpg curl wget
|
- apt update && apt-get -y --no-install-recommends install nodejs tar gpg curl wget
|
||||||
|
|
Loading…
Reference in a new issue