forked from mCaptcha/website
fix: CI: update node installation script
This commit is contained in:
parent
5b1f02ff43
commit
20ea76ea29
1 changed files with 7 additions and 1 deletions
|
@ -5,7 +5,13 @@ pipeline:
|
||||||
event: [ push, pull_request, tag, deployment ]
|
event: [ push, pull_request, tag, deployment ]
|
||||||
branch: master
|
branch: master
|
||||||
commands:
|
commands:
|
||||||
- curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\
|
- apt-get update
|
||||||
|
- apt-get install -y ca-certificates curl gnupg tar wget
|
||||||
|
- 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=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
|
||||||
|
- apt-get -y install nodejs npm
|
||||||
|
- 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
|
||||||
- make env
|
- make env
|
||||||
- make
|
- make
|
||||||
|
|
Loading…
Reference in a new issue