更新 .gitea/workflows/gitea_workflows_vue-build-serve_Version3.yml
Some checks failed
Vue3 Build and Serve (Persistent) / build-and-serve (push) Failing after 3s
Some checks failed
Vue3 Build and Serve (Persistent) / build-and-serve (push) Failing after 3s
This commit is contained in:
@@ -13,11 +13,14 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: 设置 Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '16'
|
||||
cache: 'npm'
|
||||
- name: 安装最新版 Node.js
|
||||
run: |
|
||||
curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
|
||||
sudo apt-get install -y nodejs
|
||||
echo "Node.js 版本:"
|
||||
node -v
|
||||
echo "NPM 版本:"
|
||||
npm -v
|
||||
|
||||
- name: 停止之前运行的服务(如果有)
|
||||
continue-on-error: true
|
||||
|
Reference in New Issue
Block a user