Create pipeline.yml

This commit is contained in:
Sergey Penkovsky
2025-05-16 14:09:10 +03:00
committed by GitHub
parent 155e5f12a8
commit ec977c06b2

31
.github/workflows/pipeline.yml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: Dart Melos Monorepo CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- name: Install Melos
run: dart pub global activate melos
- name: Bootstrap workspace
run: melos bootstrap
# Форматирование (если хотите сделать обязательным для всей монорепы)
# - name: Melos format
# run: melos run format
- name: Analyze all packages
run: melos run analyze
- name: Run all tests
run: melos run test