Skip to content

chore: fix analyzer issues #3

chore: fix analyzer issues

chore: fix analyzer issues #3

Workflow file for this run

name: Example
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
run:
runs-on: ubuntu-latest
cancel-timeout-minutes: 60
strategy:
matrix:
example: [docker, capella]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Dart
uses: dart-lang/setup-dart@v1
- name: Install Melos
run: dart pub global activate melos
- name: Install dependencies
run: melos bootstrap
- name: Wait for publishing of couchbase package
run: melos waitForPublishing
- name: Run docker example
if: matrix.example == 'docker'
run: |
docker build -t couchbase-example packages/couchbase/example
melos initCouchbaseServer
docker run --network host couchbase-example
- name: Run capella example
if: matrix.example == 'capella'
working-directory: packages/couchbase/example
run: |
dart run couchbase install
dart run bin/capella.dart