Add webRtc.iceTransportPolicy session option for WebRTC connections (… #292
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: | |
| branches: | |
| - main | |
| - next | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| permissions: | |
| # Needed to push branches to GitHub | |
| contents: write | |
| # Needed for provenance generation | |
| id-token: write | |
| environment: ${{ github.ref_name }} | |
| steps: | |
| - name: Create GitHub App Token | |
| uses: actions/create-github-app-token@v1 | |
| id: app-token | |
| with: | |
| # See https://github.com/organizations/elevenlabs/settings/apps/packages-release-automation | |
| app-id: 2699583 | |
| private-key: ${{ secrets.RELEASE_AUTOMATION_APP_PRIVATE_KEY }} | |
| - name: Checkout Repo | |
| uses: actions/checkout@v6 | |
| - name: Set up pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Set up node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: lts/Krypton | |
| registry-url: https://registry.npmjs.org | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Create Release Pull Request | |
| uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba # v1.5.3 | |
| with: | |
| publish: pnpm run publish | |
| env: | |
| GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} | |
| # Use app token when using the GitHub CLI to enable sub-sequent workflow runs from created PRs | |
| GH_TOKEN: ${{ steps.app-token.outputs.token }} | |
| # See https://docs.npmjs.com/generating-provenance-statements#using-third-party-package-publishing-tools | |
| NPM_CONFIG_PROVENANCE: true | |
| # Don't run the Husky pre-commit hook (see https://typicode.github.io/husky/how-to.html) | |
| HUSKY: "0" |