Skip to content

enable modules with commands #14

enable modules with commands

enable modules with commands #14

name: Test Commands in Starter
on:
pull_request:
branches:
- main
jobs:
test-modules:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Flutter SDK
uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Set up Node.js
uses: actions/setup-node@v2
- name: Install dependencies
run: npm install
working-directory: starter
- name: Run useCamera command
run: npm run useCamera camera_description="This app requires camera access"
working-directory: starter
- name: Run useFiles command
run: npm run useFiles platform="ios,android" photo_library_description="Hello" music_description="world"
working-directory: starter
- name: Run useContacts command
run: npm run useContacts contacts_description="Hello world"
working-directory: starter