Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ci: move chromatic to coder workflow #3330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 1, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! ci: move chromatic to coder.yaml
  • Loading branch information
ammario committed Aug 1, 2022
commit 7f7079553d6880beca66a449937ea3f9c7e756a1
10 changes: 9 additions & 1 deletion .github/workflows/coder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
outputs:
docs-only: ${{ steps.filter.outputs.docs_count == steps.filter.outputs.all_count }}
sh: ${{ steps.filter.outputs.sh }}
ts: ${{ steps.filter.outputs.ts }}
steps:
- uses: actions/checkout@v3
# For pull requests it's not necessary to checkout the code
Expand All @@ -50,6 +51,11 @@ jobs:
# - '.github/**'
sh:
- "**.sh"
ts:
- "**.tsx?"
- "**.jsx?"
- "**.lock"
- "**.json"
- id: debug
run: |
echo "${{ toJSON(steps.filter )}}"
Expand Down Expand Up @@ -606,7 +612,9 @@ jobs:
chromatic:
# REMARK: this is only used to build storybook and deploy it to Chromatic.
runs-on: ubuntu-latest

needs:
- changes
if: needs.changes.outputs.ts == 'true'
steps:
- uses: actions/checkout@v3
with:
Expand Down