feat(http-recorder): prepare independent beta release

This commit is contained in:
Kit Langton 2026-06-22 18:12:14 -04:00
commit 81eea42e80
17 changed files with 485 additions and 85 deletions

View file

@ -0,0 +1,35 @@
name: http-recorder release
on:
workflow_dispatch:
concurrency: http-recorder-release
permissions:
contents: read
id-token: write
jobs:
release:
if: github.repository == 'anomalyco/opencode' && github.ref == 'refs/heads/dev'
runs-on: ubuntu-latest
environment: npm
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: ./.github/actions/setup-bun
- name: Verify package
working-directory: packages/http-recorder
run: |
bun run test
bun typecheck
- name: Publish beta
run: |
if [ -n "$NODE_AUTH_TOKEN" ]; then
npm config set //registry.npmjs.org/:_authToken "$NODE_AUTH_TOKEN"
fi
bun run release:http-recorder
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}