-
Notifications
You must be signed in to change notification settings - Fork 151
58 lines (48 loc) · 1.39 KB
/
dart_frog_cli.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: dart_frog_cli
on:
pull_request:
paths:
- ".github/workflows/dart_frog_cli.yaml"
- "packages/dart_frog_cli/e2e/**"
- "packages/dart_frog_cli/lib/**"
- "packages/dart_frog_cli/test/**"
- "packages/dart_frog_cli/pubspec.yaml"
push:
branches:
- main
paths:
- ".github/workflows/dart_frog_cli.yaml"
- "packages/dart_frog_cli/e2e/**"
- "packages/dart_frog_cli/lib/**"
- "packages/dart_frog_cli/test/**"
- "packages/dart_frog_cli/pubspec.yaml"
jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1
with:
working_directory: packages/dart_frog_cli
concurrency: 1
e2e:
defaults:
run:
working-directory: packages/dart_frog_cli/e2e
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: 🎯 Setup Dart
uses: dart-lang/setup-dart@v1
- name: 📦 Install Dependencies
run: |
dart pub global activate --source path ../
dart pub get
- name: 🧪 Run E2E Tests
run: dart test -j 1
pana:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/pana.yml@v1
with:
working_directory: packages/dart_frog_cli