Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
mmdapl committed Oct 5, 2024
1 parent afeb52d commit 3d34373
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
Base-Build:
name: 基础编译构建
runs-on: ubuntu-latest
# # 主库且拉取PR时触发
# 主库且拉取PR时触发
if: github.repository == '142vip/408CSFamily' && github.event_name == 'pull_request'
permissions:
actions: read
Expand All @@ -47,15 +47,15 @@ jobs:
with:
version: 9.6.0

# # 安装Node环境
# 安装Node环境
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20.16.0
# # 缓存
cache: pnpm

# # 下载依赖,并执行初始化脚本:钩子函数、思维导图构建
# 下载依赖,并执行初始化脚本:钩子函数、思维导图构建
- name: Install Dependencies
run: |
./scripts/ci
Expand All @@ -75,8 +75,8 @@ jobs:
Build-Docker-Image:
name: 构建Docker镜像
runs-on: ubuntu-latest
# # 主库且tag更新时执行
# if: github.repository == '142vip/408CSFamily' && startsWith(github.event.head_commit.message, 'chore(release):')
# 主库且tag更新时执行
if: github.repository == '142vip/408CSFamily' && startsWith(github.event.head_commit.message, 'chore(release):')
permissions:
actions: read
pull-requests: read
Expand Down Expand Up @@ -110,15 +110,15 @@ jobs:
with:
version: 9.6.0

# # 安装Node环境
# 安装Node环境
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20.16.0
# # 缓存
cache: pnpm

# # 下载依赖,并执行初始化脚本:钩子函数、思维导图构建
# 下载依赖,并执行初始化脚本:钩子函数、思维导图构建
- name: Install Dependencies
run: |
./scripts/ci
Expand All @@ -128,7 +128,7 @@ jobs:
# run: |
# pnpm build

# # 快速构建并推送
# 快速构建并推送
- name: Push Docker Image
run: |
./scripts/bundle

0 comments on commit 3d34373

Please sign in to comment.