32 lines
703 B
YAML
32 lines
703 B
YAML
name: "Copilot Setup Steps"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths:
|
|
- .github/workflows/copilot-setup-steps.yml
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/copilot-setup-steps.yml
|
|
|
|
jobs:
|
|
copilot-setup-steps:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Dart
|
|
uses: dart-lang/setup-dart@v1
|
|
|
|
- name: Install Melos
|
|
run: dart pub global activate melos
|
|
|
|
- name: Install all dependencies
|
|
run: dart pub get
|
|
|
|
- name: Generate code and migrations
|
|
run: melos generate && melos create-migration
|