Skip to content

Commit 79ccde5

Browse files
ChouChiuCopilot
andcommitted
feat: 更新构建工作流以仅支持扩展分支
Co-authored-by: Copilot <copilot@github.com>
1 parent 4f12b5f commit 79ccde5

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ name: Build Browser Extension
33
on:
44
push:
55
branches:
6-
- main
7-
- master
6+
- extension
7+
pull_request:
8+
branches:
9+
- extension
810
workflow_dispatch:
911

1012
jobs:
@@ -20,7 +22,7 @@ jobs:
2022
- name: Setup pnpm
2123
uses: pnpm/action-setup@v4
2224
with:
23-
version: 10 # 根据你项目使用的 pnpm 版本调整
25+
version: latest # 根据你项目使用的 pnpm 版本调整
2426

2527
# 3. 配置 Node.js 并启用 pnpm 缓存
2628
- name: Setup Node.js

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
],
2323
"author": "Chou Chiu, a2cheng",
2424
"license": "Apache-2.0",
25-
"packageManager": "pnpm@10.33.2",
2625
"devDependencies": {
2726
"@biomejs/biome": "2.4.13",
2827
"typescript": "^6.0.3",

0 commit comments

Comments
 (0)