Skip to content
Snippets Groups Projects
Commit 56eb0f90 authored by Mathieu Dartigues's avatar Mathieu Dartigues
Browse files

feat: Deploy storybook

parent 8ade0fce
No related branches found
No related tags found
1 merge request!29feat: Deploy storybook
Pipeline #10261 passed
......@@ -77,6 +77,20 @@ build:
paths:
- ./dist/
build-storybook:
stage: test
only:
- tags
- merge_requests
- main
script:
- npm ci
- npm run build-storybook
artifacts:
expire_in: 3 week
paths:
- ./storybook-static/
deploy:
<<: *check_ssh
stage: deploy
......@@ -116,8 +130,7 @@ deploy-storybook:
- merge_requests
- main
dependencies:
- build
- quality-gate
- build-storybook
script:
- apt update
- apt install rsync -y
......
......@@ -29,6 +29,12 @@ npm run dev
npm run build
```
### Démarrage du storybook
```sh
npm run storybook
```
### Tests unitaires avec [Vitest](https://vitest.dev/)
```sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment