fix: Ensure resume conversations also use bypassPermissions mode #19
Workflow file for this run
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: Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| workflow_dispatch: | |
| jobs: | |
| # Skip build/release for patch tags like v0.6.4-srp.3 (only tag, no build) | |
| # Build/release runs for tags like v0.6.4-srp or workflow_dispatch | |
| quality: | |
| if: github.event_name == 'workflow_dispatch' || !contains(github.ref_name, '-srp.') | |
| uses: ./.github/workflows/quality.yml | |
| with: | |
| node-version: '20.x' | |
| upload-artifact: true | |
| e2e: | |
| needs: quality | |
| uses: ./.github/workflows/e2e.yml | |
| with: | |
| node-version: '20.x' | |
| release: | |
| needs: [quality, e2e] | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Download built artifact from quality job | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: dist | |
| path: dist | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| cache: 'npm' | |
| - name: Package release artifacts | |
| run: | | |
| # Create npm tarball (for npm install -g <url>) | |
| npm pack | |
| # Rename to fixed name for easy reference in claude-code-ui | |
| cp cui-server-*.tgz cui-server.tgz | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: | | |
| cui-server.tgz | |
| cui-server-*.tgz | |
| generate_release_notes: true | |
| draft: false | |
| prerelease: ${{ contains(github.ref_name, '-rc') || contains(github.ref_name, '-beta') || contains(github.ref_name, '-alpha') }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| publish-npm: | |
| needs: [quality, release] | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| registry-url: 'https://registry.npmjs.org' | |
| cache: 'npm' | |
| - name: Download built artifact from release job | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: dist | |
| path: dist | |
| - name: Publish to npm | |
| run: npm publish --access public | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |