chore(專案設定): 更新 CI workflow 並移除範本 package.json
CI / 1. BUILD (pull_request) Successful in 2s
CI / 2. TEST (pull_request) Failing after 1s
CI / 3. RESULT (pull_request) Has been skipped

This commit is contained in:
Jeffery
2026-07-02 16:09:18 +08:00
parent 2cf45db210
commit e15f3f41f3
2 changed files with 13 additions and 19 deletions
+13 -8
View File
@@ -23,17 +23,22 @@ jobs:
outputs:
message: ${{ steps.composite-template.outputs.message }}
steps:
- name: Source Code Checkout
uses: actions/checkout@${{ vars.ACTION_CHECKOUT_VERSION }}
- name: Run Composite Template
id: composite-template
uses: ./
- name: Setup LLM CLI
uses: https://gitea.jsc.idv.tw/actions/setup-${{ vars.ACTION_SETUP_LLM_CLI }}
with:
oauth: ${{ secrets.LLM_OAUTH }}
- name: Run AI Code Review
id: ai-code-review
uses: https://gitea.jsc.idv.tw/actions/ai-code-review@v${{ env.VERSION }}
with:
token: ${{ secrets.TOKEN }}
model: ${{ vars.LLM_NAME }}
result:
name: 3. RESULT
runs-on: ubuntu
needs: [build,test]
env:
MESSAGE: ${{ needs.test.outputs.message }}
VERSION: ${{ needs.build.outputs.version }}
steps:
- name: Show Message
run: echo "$MESSAGE"
- name: Show Version
run: echo "$VERSION"
-11
View File
@@ -1,11 +0,0 @@
{
"name": "node-template",
"version": "1.0.0",
"description": "Gitea Node (JavaScript) action 範本",
"main": "src/index.js",
"scripts": {
"build": "ncc build src/index.js -o dist"
},
"author": "Jeffery",
"license": "MIT"
}