Skip to content

ci: add melos bootstrap action #9

ci: add melos bootstrap action

ci: add melos bootstrap action #9

name: "Melos bootstrap"
on:
workflow_dispatch:
inputs:
melos_args:
description: "Melos arguments"
required: false
default: '--ignore="at_root_server" --ignore="at_secondary"'
pull_request:
permissions:
contents: read
env:
default_melos_args: '--ignore="at_root_server" --ignore="at_secondary"'
jobs:
melos-bootstrap:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa # v2.10.0
with:
channel: "stable"
- name: flutter pub get
run: flutter pub get
- name: Do melos bootstrap
run: dart run melos bootstrap ${{ github.events.inputs.melos_args || env.default_melos_args }}