Compare commits

...

2 Commits

Author SHA1 Message Date
Dax Raad 66483348eb feat: enable turborepo caching for test workflow 2026-01-29 16:35:19 -05:00
Dax Raad 735369b2ed ci: trigger publish workflow after beta sync 2026-01-29 16:32:27 -05:00
3 changed files with 20 additions and 2 deletions

View File

@ -16,6 +16,7 @@ jobs:
permissions: permissions:
contents: write contents: write
pull-requests: read pull-requests: read
actions: write
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -32,3 +33,8 @@ jobs:
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: bun script/beta.ts run: bun script/beta.ts
- name: Trigger publish workflow
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh workflow run publish.yml --ref beta

View File

@ -21,8 +21,8 @@ jobs:
- name: windows - name: windows
host: windows-latest host: windows-latest
playwright: bunx playwright install playwright: bunx playwright install
workdir: packages/app workdir: .
command: bun test:e2e:local command: bun turbo run @opencode-ai/app#test:e2e:local
runs-on: ${{ matrix.settings.host }} runs-on: ${{ matrix.settings.host }}
defaults: defaults:
run: run:
@ -36,6 +36,14 @@ jobs:
- name: Setup Bun - name: Setup Bun
uses: ./.github/actions/setup-bun uses: ./.github/actions/setup-bun
- name: Setup Turborepo Remote Cache
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Install Playwright browsers - name: Install Playwright browsers
working-directory: packages/app working-directory: packages/app
run: ${{ matrix.settings.playwright }} run: ${{ matrix.settings.playwright }}

View File

@ -13,6 +13,10 @@
"@opencode-ai/app#test": { "@opencode-ai/app#test": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
"outputs": [] "outputs": []
},
"@opencode-ai/app#test:e2e:local": {
"dependsOn": ["^build"],
"outputs": []
} }
} }
} }