Compare commits

..
4 changed files with 31 additions and 16 deletions
+2 -6
View File
@@ -7,11 +7,7 @@
--> -->
## Jira Ticket ## Jira Ticket
<!-- Add your Jira ticket number as a link (e.g., [PROJ-123](https://jira.company.com/browse/PROJ-123)) --> [SP-0000](https://syncrow.atlassian.net/browse/SP-0000)
## Status
**READY/IN DEVELOPMENT/HOLD**
## Description ## Description
@@ -27,4 +23,4 @@
- [ ] 🧹 Code refactor - [ ] 🧹 Code refactor
- [ ] ✅ Build configuration change - [ ] ✅ Build configuration change
- [ ] 📝 Documentation - [ ] 📝 Documentation
- [ ] 🗑️ Chore - [ ] 🗑️ Chore
@@ -4,10 +4,6 @@ on:
push: push:
branches: branches:
- main - main
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- main
jobs: jobs:
build_and_deploy_job: build_and_deploy_job:
@@ -4,18 +4,12 @@ on:
push: push:
branches: branches:
- dev - dev
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- dev
jobs: jobs:
build_and_deploy_job: build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Build and Deploy Job name: Build and Deploy Job
steps: steps:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
+29
View File
@@ -0,0 +1,29 @@
name: Pull Request Check
on:
pull_request:
branches:
- dev
- main
jobs:
setup_flutter:
runs-on: ubuntu-latest
name: Setup Flutter and Dependencies
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
submodules: true
lfs: false
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.27.3'
- name: Install dependencies
run: flutter pub get
- name: Run Flutter Build
run: flutter build web --web-renderer canvaskit -t lib/main_dev.dart