-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1531 from visualize-admin/feat/chromatic
Chromatic
- Loading branch information
Showing
4 changed files
with
60 additions
and
4 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,19 @@ | ||
name: Chromatic | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
push-storybook: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
cache: yarn | ||
- run: yarn chromatic | ||
env: | ||
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,12 @@ | |
"version": "4.5.1", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/visualize-admin/visualization-tool.git" | ||
"url": "git+https://github.com/visualize-admin/visualization-tool.git" | ||
}, | ||
"author": { | ||
"name": "Federal Office for the Environment FOEN", | ||
"email": "[email protected]" | ||
}, | ||
"author": "Federal Office for the Environment FOEN <[email protected]>", | ||
"license": "BSD-3-Clause", | ||
"private": true, | ||
"scripts": { | ||
|
@@ -35,7 +38,8 @@ | |
"dev:circular-deps": "madge --warning --extensions js,jsx,ts,tsx -b ./app -c ./app/pages/ --ts-config ./app/tsconfig.json | bun scripts/circular-deps-analysis.ts -", | ||
"github:codegen": "node k6/performance-tests/generate-github-actions.mjs", | ||
"storybook": "storybook dev -p 6006", | ||
"storybook:build": "storybook build -o app/public/storybook" | ||
"storybook:build": "storybook build -o app/public/storybook", | ||
"chromatic": "npx chromatic --build-script-name storybook:build -o app/public/storybook" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.11.2", | ||
|
@@ -70,6 +74,7 @@ | |
"argparse": "^2.0.1", | ||
"babel-core": "^7.0.0-bridge.0", | ||
"babel-plugin-macros": "^3.0.0", | ||
"chromatic": "^11.4.0", | ||
"eslint": "^7.29.0", | ||
"eslint-config-next": "^12.0.0", | ||
"eslint-plugin-storybook": "^0.8.0", | ||
|
@@ -104,5 +109,9 @@ | |
"resolutions": { | ||
"@babel/core": "^7.14.6", | ||
"@babel/parser": "^7.14.6" | ||
} | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/visualize-admin/visualization-tool/issues" | ||
}, | ||
"homepage": "https://github.com/visualize-admin/visualization-tool#readme" | ||
} |
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