mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-10 01:18:48 +00:00
chore(http-recorder): disable release automation (#31160)
This commit is contained in:
parent
06d7840d1d
commit
effd27b239
7 changed files with 16 additions and 270 deletions
53
.github/workflows/http-recorder-release.yml
vendored
53
.github/workflows/http-recorder-release.yml
vendored
|
|
@ -1,53 +0,0 @@
|
|||
name: http-recorder release
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
paths:
|
||||
- ".changeset/**"
|
||||
- "packages/http-recorder/**"
|
||||
- ".github/workflows/http-recorder-release.yml"
|
||||
|
||||
concurrency: http-recorder-release
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
id-token: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
release:
|
||||
if: github.repository == 'anomalyco/opencode'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: ./.github/actions/setup-bun
|
||||
|
||||
- name: Setup git committer
|
||||
id: committer
|
||||
uses: ./.github/actions/setup-git-committer
|
||||
with:
|
||||
opencode-app-id: ${{ vars.OPENCODE_APP_ID }}
|
||||
opencode-app-secret: ${{ secrets.OPENCODE_APP_SECRET }}
|
||||
|
||||
- name: Verify package
|
||||
run: |
|
||||
bun run --cwd packages/http-recorder build
|
||||
bun run --cwd packages/http-recorder test
|
||||
bun run --cwd packages/http-recorder typecheck
|
||||
bun run --cwd packages/http-recorder verify:package
|
||||
|
||||
- name: Version or publish beta
|
||||
uses: changesets/action@3841a0683d3cfa6dae0f9bb335290003010fe3f0 # v1.9.0
|
||||
with:
|
||||
version: bun run version:http-recorder
|
||||
publish: bun run release:http-recorder
|
||||
commit: "chore(http-recorder): release beta"
|
||||
title: "chore(http-recorder): release beta"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ steps.committer.outputs.token }}
|
||||
NPM_CONFIG_PROVENANCE: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue