@@ -38,6 +38,9 @@ jobs:
|
||||
# # deb-src https://mirror.nju.edu.cn/ubuntu/ noble-proposed main restricted universe multiverse
|
||||
EOF
|
||||
|
||||
- name: Apt Update
|
||||
run: |
|
||||
apt update
|
||||
|
||||
- name: Install Node.js
|
||||
run: |
|
||||
@@ -47,7 +50,6 @@ jobs:
|
||||
# 安装 Node.js 20.x
|
||||
#curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
||||
#apt-get install -y nodejs
|
||||
apt update
|
||||
apt install nodejs npm
|
||||
|
||||
# 验证安装是否成功
|
||||
|
||||
Reference in New Issue
Block a user