rename expect-skill SKILL.md to README.md for llms.txt route #1113
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: Publish Any Commit | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| env: | |
| GITHUB_ACTIONS: "1" | |
| - name: Build | |
| run: pnpm build | |
| - name: Publish | |
| id: publish | |
| run: | | |
| OUTPUT=$(pnpm dlx pkg-pr-new publish ./apps/cli 2>&1) || true | |
| echo "$OUTPUT" | |
| CLI_URL=$(echo "$OUTPUT" | grep -oE 'https://pkg\.pr\.new/[^ ]*expect-cli[^ ]*') | |
| echo "cli-url=$CLI_URL" >> "$GITHUB_OUTPUT" | |
| - name: Smoke test — published CLI runs | |
| run: | | |
| npx ${{ steps.publish.outputs.cli-url }} --version | |
| npx ${{ steps.publish.outputs.cli-url }} --help | grep -q "AI-powered browser testing" |