Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 42 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "lts/*"
node-version: "24"

- name: Install Claude Code CLI
run: npm install -g @anthropic-ai/claude-code
Expand Down Expand Up @@ -256,7 +256,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "22"
node-version: "24"

- name: Install GitHub Copilot CLI
run: npm install -g @github/copilot
Expand Down Expand Up @@ -294,14 +294,52 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "22"
node-version: "24"

- name: Install OpenAI Codex CLI
run: npm install -g @openai/codex

- name: Run integration tests
run: go test -race -count=1 -v -timeout 300s -run 'Integration' ./internal/agent/codex/...

test-integration-opencode:
name: "Integration: OpenCode"
needs: [lint, test-unit]
runs-on: ubuntu-latest
Comment thread
sergeyklay marked this conversation as resolved.
env:
SORTIE_OPENCODE_TEST: "1"
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
steps:
- name: Verify OpenCode secrets are configured
run: |
missing=()
[ -z "$ANTHROPIC_API_KEY" ] && missing+=("ANTHROPIC_API_KEY")
if [ ${#missing[@]} -ne 0 ]; then
echo "::error::Missing required secrets: ${missing[*]}"
echo "Configure these in Settings → Secrets and variables → Actions"
exit 1
fi
echo "✓ All OpenCode secrets are present"

- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod

- name: Set up Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "24"

- name: Install OpenCode CLI
run: npm install -g opencode-ai

- name: Run integration tests
run: go test -race -count=1 -v -timeout 300s -run 'Integration' ./internal/agent/opencode/...

release:
name: Tag & Release
needs:
Expand All @@ -313,6 +351,7 @@ jobs:
- test-integration-claude
- test-integration-copilot
- test-integration-codex
- test-integration-opencode
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down