Skip to content

melos version

melos version #6

Workflow file for this run

name: "melos version"
on:
workflow_dispatch:
permissions:
contents: write
jobs:
melos_version:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: false
- name: show flutter version
run: flutter doctor -v
- name: Install melos
run: flutter pub global activate melos
- name: Install dependencies
run: melos bootstrap
- name: Setup git
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
- name: Version packages
run: melos version --yes
- name: resign the changes
run: git commit --amend --signoff -S
- name: Show git log
run: git log -1