Skip to content

Commit

Permalink
Adding chromatic UI testing to workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
jedgar1mx committed Jan 19, 2024
1 parent 20f6df2 commit 9568b44
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
Empty file added .github/workflows/chromatic.yml
Empty file.
17 changes: 13 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"version": "1.0.12",
"description": "City of Detroit design system",
"main": "dist/index.js",
"repository": "https://github.com/jedgar1mx/COD-Design-System",
"repository": {
"type": "git",
"url": "git+https://github.com/jedgar1mx/COD-Design-System.git"
},
"keywords": [
"components",
"web components",
Expand All @@ -28,9 +31,12 @@
"build-storybook": "storybook build",
"deploy-storybook": "storybook-to-ghpages",
"test-storybook": "test-storybook",
"release": "auto shipit --base-branch=dev"
"release": "auto shipit --base-branch=dev",
"chromatic": "chromatic --exit-zero-on-changes"
},
"author": {
"name": "Edgar Montes"
},
"author": "Edgar Montes",
"license": "MIT",
"dependencies": {
"bootstrap": "5.3.0-alpha3",
Expand Down Expand Up @@ -66,6 +72,7 @@
"auto": "^10.43.0",
"babel-loader": "^8.2.3",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"chromatic": "^10.3.1",
"concurrently": "^7.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.5.0",
Expand Down Expand Up @@ -108,5 +115,7 @@
]
]
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"readme": "ERROR: No README data found!",
"_id": "[email protected]"
}
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9451,6 +9451,17 @@ __metadata:
languageName: node
linkType: hard

"chromatic@npm:^10.3.1":
version: 10.3.1
resolution: "chromatic@npm:10.3.1"
bin:
chroma: dist/bin.js
chromatic: dist/bin.js
chromatic-cli: dist/bin.js
checksum: 54a68738459d1c1727a4ad89a9bf8fef402173871cfce9d6e84e6101ade10fd17f530645b3c9d4882cef385ff71eb43893ba83c37a8830966694555fb8818cdb
languageName: node
linkType: hard

"chrome-trace-event@npm:^1.0.2":
version: 1.0.3
resolution: "chrome-trace-event@npm:1.0.3"
Expand Down Expand Up @@ -9630,6 +9641,7 @@ __metadata:
babel-plugin-transform-react-remove-prop-types: ^0.4.24
bootstrap: 5.3.0-alpha3
bootstrap-icons: ^1.10.3
chromatic: ^10.3.1
concurrently: ^7.0.0
cross-env: ^7.0.3
css-loader: ^6.5.0
Expand Down

0 comments on commit 9568b44

Please sign in to comment.