-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec7e98d
commit c3dd257
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: "Lint PR" | ||
|
||
on: push | ||
|
||
jobs: | ||
production: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: stable | ||
|
||
- name: Bootstrap App | ||
shell: bash | ||
run: | | ||
flutter pub get | ||
- name: Bootstrap Widgetbook | ||
working-directory: widgetbook | ||
shell: bash | ||
run: | | ||
cd packages/remix/demo | ||
flutter pub get | ||
dart run build_runner build -d | ||
- name: Build Widgetbook | ||
working-directory: widgetbook | ||
shell: bash | ||
run: | | ||
cd packages/remix/demo | ||
flutter build web | ||
- name: Install Widgetbook CLI | ||
run: dart pub global activate widgetbook_cli | ||
|
||
- name: Upload Widgetbook | ||
working-directory: widgetbook | ||
run: widgetbook cloud build push --api-key ${{ secrets.WIDGETBOOK_API_KEY }} |