File tree Expand file tree Collapse file tree 5 files changed +81
-101
lines changed
Expand file tree Collapse file tree 5 files changed +81
-101
lines changed Original file line number Diff line number Diff line change 1+ name : Prepare
2+ description : Prepare CI environment
3+
4+ runs :
5+ using : composite
6+ steps :
7+ - uses : actions/checkout@v4
8+ - name : Install Flutter
9+ uses : subosito/flutter-action@v2
10+ with :
11+ flutter-version : " 3.x"
12+ channel : " stable"
13+ - name : Download sqlite3.wasm
14+ uses : actions/download-artifact@v4
15+ with :
16+ name : sqlite3-wasm
17+ path : packages/sqlite3_wasm_build/dist/
18+ - name : Install Melos
19+ shell : sh
20+ run : flutter pub global activate melos
21+ - name : Install dependencies
22+ shell : sh
23+ run : melos prepare
Original file line number Diff line number Diff line change 1+ name : Check packages and demos
2+
3+ concurrency :
4+ group : packages-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
5+
6+ on :
7+ push :
8+ branches :
9+ - " **"
10+
11+ jobs :
12+ setup :
13+ uses : ./.github/workflows/prepare_wasm.yml
14+
15+ build :
16+ runs-on : ubuntu-latest
17+ needs : [setup]
18+ steps :
19+ - uses : ./.github/actions/prepare
20+ - name : Check formatting
21+ run : melos format:check:packages
22+ - name : Lint
23+ run : melos analyze:packages
24+ - name : Publish dry-run
25+ run : melos publish --dry-run --yes
26+
27+ pana :
28+ runs-on : ubuntu-latest
29+ needs : [setup]
30+ steps :
31+ - uses : ./.github/actions/prepare
32+ - name : Check pana score
33+ run : |
34+ flutter pub global activate pana
35+ melos analyze:packages:pana --no-select
36+
37+ test :
38+ runs-on : ubuntu-latest
39+ needs : [setup]
40+ steps :
41+ - uses : ./.github/actions/prepare
42+ - name : Run flutter tests
43+ run : melos test
44+ - name : Run dart tests
45+ run : melos test:web
46+
47+ check_demos :
48+ runs-on : ubuntu-latest
49+ needs : [setup]
50+ steps :
51+ - uses : ./.github/actions/prepare
52+ - name : Check formatting
53+ run : melos format:check:demos
54+ - name : Lint
55+ run : |
56+ ./.github/workflows/scripts/copy-config.sh
57+ melos analyze:demos
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11name : Build SQLite3 WASM
22
33on :
4- push :
5- branches : ["**"]
4+ workflow_call :
65
76jobs :
87 compile_sqlite3_wasm :
You can’t perform that action at this time.
0 commit comments