mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
provide readme & fetch-depth for git history
This commit is contained in:
parent
85d7be9531
commit
5db38df327
@ -13,6 +13,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Frontend | Build
|
- name: Frontend | Build
|
||||||
run: npm install && npm run chromatic -- --exit-zero-on-changes
|
run: npm install && npm run chromatic -- --exit-zero-on-changes
|
||||||
14
README.md
14
README.md
@ -68,6 +68,20 @@ Docker can be run in production mode:
|
|||||||
docker compose -f docker-compose.yml up
|
docker compose -f docker-compose.yml up
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Chromatic
|
||||||
|
|
||||||
|
In order to use the chromatic workflow you need to provide a `CHROMATIC_PROJECT_TOKEN` in the repository secrets.
|
||||||
|
|
||||||
|
If you want to run chromatic from the command line you either have to provide this variable as well
|
||||||
|
```
|
||||||
|
export CHROMATIC_PROJECT_TOKEN=...
|
||||||
|
npm run chromatic
|
||||||
|
```
|
||||||
|
or you have to append it via parameter:
|
||||||
|
```
|
||||||
|
npm run chromatic -- --project-token=...
|
||||||
|
```
|
||||||
|
|
||||||
## Endpoints
|
## Endpoints
|
||||||
|
|
||||||
The following endpoints are provided given the right command is executed or all three if `docker compose` is used:
|
The following endpoints are provided given the right command is executed or all three if `docker compose` is used:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user