Skip to content

Commit a6b848f

Browse files
authored
Create main.yml
1 parent 535e06f commit a6b848f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/main.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: tfgrid-sdk-dart Workflow
2+
3+
on:
4+
push:
5+
branches:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
16+
- name: Set up Dart
17+
uses: dart-lang/setup-dart@v2
18+
with:
19+
sdk: 'stable'
20+
21+
- name: Install Melos
22+
run: dart pub global activate melos
23+
24+
- name: Bootstrap Melos
25+
run: dart pub global run melos bootstrap
26+
27+
- name: Run Tests
28+
run: dart pub global run melos run test

0 commit comments

Comments
 (0)