Skip to content

Commit c74a7df

Browse files
author
Fmar
committed
use melos-action in workflow
1 parent f44f97e commit c74a7df

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

.github/workflows/tests.yaml

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,22 @@ jobs:
44
tests:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v1
8-
- uses: subosito/flutter-action@v1
9-
- run: flutter doctor
10-
- run: flutter test --coverage
11-
- run: flutter test ./example
12-
- name: Upload coverage reports to Codecov
13-
uses: codecov/codecov-action@v3
14-
env:
15-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
7+
- uses: actions/checkout@v4
8+
- uses: dart-lang/setup-dart@v1
9+
- uses: bluefireteam/melos-action@v3
10+
with:
11+
run-versioning: true
12+
publish-dry-run: true
13+
# - run: dart pub get
14+
# - run: dart format --output=none --set-exit-if-changed .
15+
# - run: dart analyze
16+
# - run: dart test
17+
18+
# - uses: subosito/flutter-action@v1
19+
# - run: flutter doctor
20+
# - run: flutter test --coverage
21+
# - run: flutter test ./example
22+
# - name: Upload coverage reports to Codecov
23+
# uses: codecov/codecov-action@v3
24+
# env:
25+
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)