-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
102 additions
and
0 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,18 @@ | ||
- Addresses xxxxxx | ||
- Depends on xxxxxx | ||
|
||
## Changes | ||
|
||
* Detailed list or prose of changes | ||
* Breaking changes | ||
* Changes to configurations | ||
|
||
## This PR doesn't introduce any: | ||
|
||
- [ ] temporary files, auto-generated files or secret keys | ||
- [ ] build works | ||
- [ ] eslint issues | ||
- [ ] typescript issues | ||
- [ ] `console.log` meant for debugging | ||
- [ ] typos | ||
- [ ] unwanted comments |
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,46 @@ | ||
# .github/workflows/chromatic.yml | ||
|
||
# name of our action | ||
name: 'Chromatic' | ||
# the event that will trigger the action | ||
on: push | ||
|
||
# what the action will do | ||
jobs: | ||
publish-chromatic: | ||
# the operating system it will run on | ||
runs-on: ubuntu-latest | ||
# the list of steps that the action will go through | ||
steps: | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- uses: actions/checkout@v1 | ||
|
||
- name: Install Dependencies on Library | ||
run: yarn install | ||
working-directory: lib | ||
|
||
- name: Install Dependencies | ||
run: yarn install | ||
|
||
- name: 🤞 Build Library 🧪 | ||
run: yarn build | ||
working-directory: lib | ||
|
||
- name: 🤞 Run Typecheck 🧪 | ||
run: yarn typecheck | ||
working-directory: storybook | ||
|
||
- name: 🤞 Run Lint 🧪 | ||
run: yarn lint | ||
working-directory: storybook | ||
|
||
- name: 🤞 Publish to Chromatic 🧪 | ||
uses: chromaui/action@v1 | ||
# options required to the GitHub chromatic action | ||
with: | ||
workingDir: storybook | ||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | ||
token: ${{ secrets.GITHUB_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# .github/workflows/chromatic.yml | ||
|
||
# name of our action | ||
name: 'CI' | ||
# the event that will trigger the action | ||
on: push | ||
|
||
# what the action will do | ||
jobs: | ||
build: | ||
# the operating system it will run on | ||
runs-on: ubuntu-latest | ||
# the list of steps that the action will go through | ||
steps: | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- uses: actions/checkout@v1 | ||
|
||
- name: Install Dependencies on Library | ||
run: yarn install | ||
working-directory: lib | ||
|
||
- name: Install Dependencies | ||
run: yarn install | ||
|
||
- name: 🤞 Run Typecheck 🧪 | ||
run: yarn typecheck | ||
working-directory: lib | ||
|
||
- name: 🤞 Run Lint 🧪 | ||
run: yarn lint | ||
working-directory: lib | ||
|
||
- name: 🤞 Build 🧪 | ||
run: yarn build | ||
working-directory: lib |