@@ -20,11 +20,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
# 步骤 1: 检出代码
|
# 步骤 1: 检出代码
|
||||||
- name: 检出代码
|
- name: 检出代码
|
||||||
uses: actions/checkout@v4
|
uses: https://gitea.com/actions/checkout@v4
|
||||||
|
|
||||||
# 步骤 2: 设置 Node.js 环境
|
# 步骤 2: 设置 Node.js 环境
|
||||||
- name: 设置 Node.js 环境
|
- name: 设置 Node.js 环境
|
||||||
uses: actions/setup-node@v4
|
uses: https://gitea.com/actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
@@ -39,7 +39,7 @@ jobs:
|
|||||||
|
|
||||||
# 步骤 5: 上传打包产物
|
# 步骤 5: 上传打包产物
|
||||||
- name: 上传构建产物
|
- name: 上传构建产物
|
||||||
uses: actions/upload-artifact@v4
|
uses: https://gitea.com/actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: dist
|
name: dist
|
||||||
path: dist/
|
path: dist/
|
||||||
Reference in New Issue
Block a user