add --experimental-wasm option to cli #183
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/cli.yml' | |
- 'packages/jaspr_cli/**' | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/cli.yml' | |
- 'packages/jaspr_cli/**' | |
name: CLI Pipeline | |
jobs: | |
cli: | |
name: Test CLI | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
Variant: | |
- sampnj | |
- vnsnnj | |
- cnsnnj | |
- vanenj | |
- cnnenj | |
- vannsj | |
- sanpnj | |
- cnspnj | |
- sasnnw | |
- cnsenw | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- uses: dart-lang/setup-dart@v1.3 | |
with: | |
sdk: beta | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: master | |
- name: Bootstrap | |
run: | | |
dart pub global activate melos | |
dart pub global activate coverage | |
melos bootstrap --no-private | |
jaspr --disable-analytics | |
- name: Run cli test | |
run: melos run coverage:cli | |
env: | |
VARIANT: ${{matrix.VARIANT}} | |
- name: Upload Coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
files: coverage/*_lcov.info |