Skip to content

Commit

Permalink
ci: maj des chemins des storybooks
Browse files Browse the repository at this point in the history
  • Loading branch information
JLou committed Feb 18, 2025
1 parent d8d5e01 commit 5b53ff8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/publish-look-and-feel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ jobs:
- run: npm run package:check
- run: npm ci
- run: npm run build:look-and-feel
- run: npm version "${{ steps.gitversion.outputs.fullSemVer }}" -w
- run:
npm version "${{ steps.gitversion.outputs.fullSemVer }}" -w
client/look-and-feel/css -w client/look-and-feel/react
- name: Set to react package the @axa-fr/design-system-look-and-feel-css
- name:
Set to react package the @axa-fr/design-system-look-and-feel-css
dependency version
run: |
cd client/look-and-feel/react
Expand All @@ -59,8 +61,9 @@ jobs:
- name: create artifact folder
run: mkdir -p artifact/css & mkdir -p artifact/react
- name: move storybooks to artifact folders
run: cp -R client/look-and-feel/css/storybook-static/* artifact/css & cp -R
client/look-and-feel/react/storybook-static/* artifact/react
run:
cp -R apps/look-and-feel-stories-css/storybook-static/* artifact/css &
cp -R apps/look-and-feel-stories/storybook-static/* artifact/react
- uses: actions/upload-artifact@v4
with:
name: storybooks
Expand Down Expand Up @@ -89,7 +92,8 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./react
destination_dir: look-and-feel/react/${{ needs.build.outputs.version }}
destination_dir:
look-and-feel/react/${{ needs.build.outputs.version }}
- name: Upload the latest css storybook
uses: peaceiris/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-slash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ jobs:
run: mkdir -p artifact/css & mkdir -p artifact/react
- name: move storybooks to artifact folders
run:
cp -R slash/css/storybook-static/* artifact/css & cp -R
slash/react/storybook-static/* artifact/react
cp -R apps/slash-stories-css/storybook-static/* artifact/css & cp -R
apps/slash-stories/storybook-static/* artifact/react
- uses: actions/upload-artifact@v4
with:
name: storybooks
Expand Down

0 comments on commit 5b53ff8

Please sign in to comment.