Add Woodpecker CI pipeline
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
1fe9cbd07b
commit
b20a9dc1ad
25
.woodpecker.yaml
Normal file
25
.woodpecker.yaml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
when:
|
||||||
|
branch: main
|
||||||
|
event: [push, pull_request]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: analyze
|
||||||
|
image: ghcr.io/cirruslabs/flutter:stable
|
||||||
|
commands:
|
||||||
|
- flutter pub get
|
||||||
|
- dart analyze
|
||||||
|
|
||||||
|
- name: test
|
||||||
|
image: ghcr.io/cirruslabs/flutter:stable
|
||||||
|
commands:
|
||||||
|
- flutter pub get
|
||||||
|
- flutter test
|
||||||
|
|
||||||
|
- name: build-web
|
||||||
|
image: ghcr.io/cirruslabs/flutter:stable
|
||||||
|
commands:
|
||||||
|
- flutter pub get
|
||||||
|
- flutter build web --release
|
||||||
|
when:
|
||||||
|
branch: main
|
||||||
|
event: push
|
||||||
Loading…
x
Reference in New Issue
Block a user