mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-24 05:25:19 +00:00
Create pipeline.yml
This commit is contained in:
31
.github/workflows/pipeline.yml
vendored
Normal file
31
.github/workflows/pipeline.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user