feat: ci cd pipelien #1
@@ -146,8 +146,11 @@ jobs:
|
||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||
working-directory: ${{ env.APP_DIR }}
|
||||
run: |
|
||||
# --all-projects: required because pnpm-workspace.yaml exists -
|
||||
# without it Snyk errors with SNYK-CLI-0000
|
||||
# --strict-out-of-sync: fails if the lockfile doesn't match package.json
|
||||
snyk test \
|
||||
--all-projects \
|
||||
--severity-threshold=high \
|
||||
--strict-out-of-sync=true
|
||||
|
||||
@@ -188,9 +191,8 @@ jobs:
|
||||
run: |
|
||||
# deepseek-v4-pro: DeepSeek's flagship reasoning model - much
|
||||
# cheaper than claude-sonnet while still thorough for reviews.
|
||||
# Cheap alternative: opencode/deepseek-v4.1-flash (or -free)
|
||||
opencode run \
|
||||
--model opencode/deepseek-v4-pro \
|
||||
--model opencode/deepseek-v4.1-flash \
|
||||
"You are a strict but pragmatic code reviewer for a pull request.
|
||||
Review ONLY the diff provided in /tmp/pr.diff. Fetch surrounding files
|
||||
if you need context from the repo.
|
||||
|
||||
Reference in new issue
Block a user