Add public-safe status-read implementation example #5
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: Public CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| concurrency: | |
| group: public-ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| public-check: | |
| name: public-check | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.32.1 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build | |
| run: pnpm build | |
| - name: Public smoke test | |
| run: pnpm run test:public | |
| - name: Public status-read workflow test | |
| run: pnpm run test:status-read | |
| - name: Public status-read example test | |
| run: pnpm run test:status-read-example | |
| - name: Dispatch prompt generation test | |
| run: node scripts/test-dispatch-prompt-generate.mjs | |
| - name: Dispatch prompt validation test | |
| run: node scripts/test-dispatch-prompt-validate.mjs |