This commit is contained in:
parent
e13c5fc102
commit
4d90afb424
@ -21,8 +21,10 @@ jobs:
|
||||
apt-get update && apt-get install -y curl gnupg2 lsb-release ca-certificates
|
||||
|
||||
# 安装 Node.js 20.x
|
||||
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
||||
apt-get install -y nodejs
|
||||
#curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
||||
#apt-get install -y nodejs
|
||||
apt update
|
||||
apt install nodejs npm
|
||||
|
||||
# 验证安装是否成功
|
||||
node -v
|
||||
|
Loading…
Reference in New Issue
Block a user