feat: v0.1.0 — repo structure, docs, CI, skill bundle #1
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-and-test: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Show Swift version | |
| run: swift --version | |
| - name: Build | |
| run: make build | |
| - name: Verify binary size under 250KB | |
| run: | | |
| SIZE=$(stat -f%z webview-cli) | |
| echo "Binary size: $SIZE bytes" | |
| if [ "$SIZE" -gt 262144 ]; then | |
| echo "Binary exceeds 250KB budget" | |
| exit 1 | |
| fi | |
| - name: Smoke tests | |
| run: make test | |
| - name: Upload binary artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: webview-cli-darwin-arm64 | |
| path: webview-cli | |
| retention-days: 30 |