Skip to content

feat(clipboard): allow pasting markdown and html files from the system to the editor #1169

feat(clipboard): allow pasting markdown and html files from the system to the editor

feat(clipboard): allow pasting markdown and html files from the system to the editor #1169

Workflow file for this run

name: πŸ§ͺ Run Tests
on:
push:
branches: [master, dev]
pull_request:
branches: [master, dev]
jobs:
tests:
name: Check lints and tests
runs-on: ubuntu-latest
steps:
- name: πŸ“¦ Checkout repository
uses: actions/checkout@v4
- name: πŸ› οΈ Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- name: πŸ” Verify Flutter installation
run: flutter --version
- name: 🚧 Enable local development environment (use the local packages)
run: ./scripts/enable_local_dev.sh
- name: πŸ“₯ Install Flutter dependencies
run: flutter pub get
- name: πŸ“¦ Install dart_quill_delta dependencies
run: flutter pub get -C dart_quill_delta
- name: πŸ“¦ Install flutter_quill_extensions dependencies
run: flutter pub get -C flutter_quill_extensions
- name: πŸ“¦ Install flutter_quill_test dependencies
run: flutter pub get -C flutter_quill_test
- name: πŸ“¦ Install quill_html_converter dependencies
run: flutter pub get -C quill_html_converter
- name: πŸ“¦ Install quill_pdf_converter dependencies
run: flutter pub get -C quill_pdf_converter
- name: πŸ” Run Flutter analysis
run: flutter analyze
- name: 🧹 Check Dart code formatting
run: dart format --set-exit-if-changed .
- name: πŸ” Preview Dart proposed changes
run: dart fix --dry-run
- name: πŸ“¦ Check if package is ready for publishing
run: flutter pub publish --dry-run
- name: πŸ§ͺ Run Flutter tests
run: flutter test
- name: πŸ” Check the translations
run: dart ./scripts/ensure_translations_correct.dart