Expose OpenAI prompt cache request options #10364
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Snapshot | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: {} | |
| jobs: | |
| approval-gate: | |
| if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository | |
| runs-on: ubuntu-latest | |
| environment: fork | |
| steps: | |
| - run: echo "Fork PR approved by maintainer." | |
| snapshot: | |
| name: Snapshot | |
| needs: [approval-gate] | |
| if: >- | |
| !cancelled() | |
| && (needs.approval-gate.result == 'success' || needs.approval-gate.result == 'skipped') | |
| && github.repository_owner == 'Effect-Ts' | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| uses: ./.github/actions/setup | |
| - name: Set strip internals config | |
| run: | | |
| sed -i 's/"stripInternal": false/"stripInternal": true/' tsconfig.base.json | |
| - name: Run codemods | |
| run: pnpm codemod | |
| - name: Build package | |
| run: pnpm build | |
| - name: Create snapshot | |
| id: snapshot | |
| run: pnpm exec pkg-pr-new publish --pnpm --comment=off ./packages/* ./packages/atom/* ./packages/ai/* ./packages/sql/* ./packages/tools/* |