v0.7.1
A ready-to-use CI/CD Pipeline for Flutter projects.
Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Dependencies
deno.land/x
skypack.dev
lodash
Flutter Pipeline
A ready-to-use Pipeline for your Flutter projects.
🚀 Usage
Run the following command in your project:
fluentci run flutter_pipelineOr, if you want to use it as a template:
fluentci init -t flutterThis will create a .fluentci folder in your project.
Now you can run the pipeline with:
fluentci run .Dagger Module
Use as a Dagger module:
dagger mod install github.com/fluent-ci-templates/flutter-pipeline@modEnvironment variables
| Variable | Description | Default |
|---|---|---|
FLUTTER_VERSION |
Flutter version to use | 3.13.1 |
BUILD_OUTPUT_TYPE |
Build output type (aar, apk, appbundle, bundle, linux, web) |
apk |
Jobs
| Job | Description |
|---|---|
| codeQuality | Run code quality checks |
| test | Run tests |
| build | Build release |
codeQuality(
src: string | Directory = ".",
flutterVersion: string = "3.13.1"
): Promise<File | string>
test(
src?: string | Directory = ".",
flutterVersion?: string = "3.13.1"
): Promise<Directory | string>
build(
src?: string | Directory = ".",
flutterVersion?: string = "3.13.1",
buildOutputType?: string = "apk"
): Promise<Directory | string>Programmatic usage
You can also use this pipeline programmatically:
import { codeQuality, test, build } from "https://pkg.fluentci.io/flutter_pipeline@v0.7.1/mod.ts";
await codeQuality();
await test();
await build();