Skip to content

Commit

Permalink
debug fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
dvviktordelev committed Apr 24, 2024
1 parent d8f8eec commit bae9d3e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-node-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ jobs:
ref: ${{ inputs.branch }}
token: ${{ github.event.repository.private == true && secrets.DATAVISYN_BOT_REPO_TOKEN || github.token }}
# chromatic needs fetch-depth: 0
#fetch-depth: ${{ (github.event_name == 'push' && (startsWith(github.event.head_commit.modified, 'src/design/stories/') || endsWith(github.event.head_commit.modified, '.stories.')) || inputs.chromatic_enable) && '0' || '1' }}
fetch-depth: 0
fetch-depth: ${{ (github.event_name == 'push' && (startsWith(github.event.head_commit.modified, 'src/design/stories/') || endsWith(github.event.head_commit.modified, '.stories.')) || inputs.chromatic_enable) && '0' || '1' }}
#fetch-depth: 0
- name: Checkout github-workflows
uses: actions/checkout@v4
with:
Expand All @@ -128,7 +128,6 @@ jobs:
npm_registry: ${{ env.NPM_REGISTRY }}
github_ro_token: ${{ github.event.repository.private == true && secrets.DATAVISYN_BOT_REPO_TOKEN || github.token }}
run_webpack: ${{ inputs.node_run_webpack }}

- name: Run Chromatic
if: ${{ github.event_name == 'push' && (startsWith(github.event.head_commit.modified, 'src/design/stories/') || endsWith(github.event.head_commit.modified, '.stories.')) || inputs.chromatic_enable }}
uses: chromaui/[email protected]
Expand Down

0 comments on commit bae9d3e

Please sign in to comment.