fix: bump version #238
This file contains 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: Publish and deploy alpha versions | |
on: | |
push: | |
branches: | |
- publish-alpha | |
jobs: | |
bump_versions: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git user | |
run: | | |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git config user.name "github-actions[bot]" | |
- name: Install packages | |
run: yarn install --frozen-lockfile | |
- name: Update versions | |
run: | | |
yarn global add lerna@5 | |
lerna -v | |
echo $(lerna version prerelease --no-git-tag-version --exact --yes --no-private) | |
lerna add @100mslive/hms-video-store --peer --scope=@100mslive/hms-virtual-background --exact | |
lerna add @100mslive/roomkit-react --scope=prebuilt-react-integration --exact | |
- name: Commit and push changes | |
run: | | |
git add . | |
git commit -m "build: update versions for release" | |
git push origin HEAD:publish-alpha | |
run_publish_packages: | |
runs-on: ubuntu-latest | |
needs: bump_versions | |
steps: | |
- name: Trigger Publish Packages workflow | |
uses: aurelien-baudet/[email protected] | |
with: | |
workflow: publish.yml | |
token: ${{ secrets.GITHUB_TOKEN }} | |
inputs: '{ "publishFlag": "alpha" }' |