Skip to content

Commit

Permalink
build: Add melos script
Browse files Browse the repository at this point in the history
  • Loading branch information
witwash committed Nov 29, 2023
1 parent 747282b commit ffc629b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/tokens-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: "./.github/actions/setup"

- name: Generate tokens files
run: echo "new tokens"

- name: Create Pull Request
uses: repo-sync/pull-request@v2
with:
Expand Down
7 changes: 6 additions & 1 deletion melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ command:
workspaceChangelog: false

scripts:
gen_icons: melos exec --scope="storybook" -- "dart utils/gen_icons.dart $MELOS_ROOT_PATH/optimus/lib/fonts/config/ lib/stories/icon && dart format lib/stories/icon/icons_list.dart"
gen_icons:
run: melos exec --scope="storybook" -- "dart utils/gen_icons.dart $MELOS_ROOT_PATH/optimus/lib/fonts/config/ lib/stories/icon && dart format lib/stories/icon/icons_list.dart"
description: Generate the list of all icons for the storybook story
gen_theme:
run: melos exec --depends-on=build_runner -- "dart run build_runner build -d"
description: Build all generated files

packages:
- "**"

0 comments on commit ffc629b

Please sign in to comment.