-
Notifications
You must be signed in to change notification settings - Fork 1
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 #161 from lunit-io/ds-171-ci
[DS-171] Update Chromatic Github Actions
- Loading branch information
Showing
6 changed files
with
25 additions
and
114 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
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
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 |
---|---|---|
@@ -1,23 +1,9 @@ | ||
import { Alert, Link } from "@mui/material"; | ||
import React from "react"; | ||
|
||
const CHROMATIC_BRANCH_NAME = process.env.CHROMATIC_BRANCH_NAME; | ||
const CHROMATIC_APP_ID = process.env.CHROMATIC_APP_ID; | ||
|
||
const branchHostname = CHROMATIC_BRANCH_NAME | ||
? `${CHROMATIC_BRANCH_NAME}--${CHROMATIC_APP_ID}.chromatic.com` | ||
: undefined; | ||
|
||
export const Welcome = () => { | ||
return ( | ||
<div> | ||
<h2>Lunit Design System</h2> | ||
{branchHostname != null && branchHostname !== window.location.hostname && ( | ||
<Alert severity="info"> | ||
Checkout the latest version for the current branch{" "} | ||
<Link href={`//${branchHostname}`}>here</Link>. | ||
</Alert> | ||
)} | ||
</div> | ||
); | ||
}; |
This file was deleted.
Oops, something went wrong.
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