-
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.
Merge branch 'main' into refactor/remix-theme
- Loading branch information
Showing
6 changed files
with
119 additions
and
7 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,56 @@ | ||
name: "Widgetbook" | ||
|
||
on: push | ||
|
||
jobs: | ||
production: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install FVM | ||
shell: bash | ||
run: | | ||
curl -fsSL https://fvm.app/install.sh | bash | ||
fvm use ${{ inputs.flutter-version }} --force | ||
- uses: kuhnroyal/flutter-fvm-config-action@v2 | ||
id: fvm-config-action | ||
|
||
- uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }} | ||
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }} | ||
|
||
- name: Flutter version | ||
shell: bash | ||
run: flutter --version | ||
|
||
- name: Setup Melos | ||
uses: bluefireteam/melos-action@v3 | ||
|
||
- name: Bootstrap App | ||
shell: bash | ||
run: | | ||
flutter pub get | ||
- name: Bootstrap Widgetbook | ||
working-directory: packages/remix/demo | ||
shell: bash | ||
run: | | ||
flutter pub get | ||
dart run build_runner build -d | ||
- name: Build Widgetbook | ||
working-directory: packages/remix/demo | ||
shell: bash | ||
run: | | ||
flutter build web | ||
- name: Install Widgetbook CLI | ||
run: dart pub global activate widgetbook_cli | ||
|
||
- name: Upload Widgetbook | ||
working-directory: packages/remix/demo | ||
run: widgetbook cloud build push --api-key ${{ secrets.WIDGETBOOK_API_KEY }} |
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
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
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
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
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