Skip to content

Commit

Permalink
Enable running when targeting develop
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Jan 24, 2024
1 parent 3ecb841 commit a5196a8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ jobs:

- name: Build
if: ${{ steps.cache-snapshot.outputs.cache-hit != 'true' && github.event_name == 'pull_request' }}
# TODO: This should be removed once `next` is merged to `develop`.
continue-on-error: true
run: |
pnpm run build:viz
mkdir -p cypress/snapshots/stats/base
Expand Down Expand Up @@ -105,6 +107,8 @@ jobs:
- name: Build
id: size
if: ${{ github.event_name == 'pull_request' && matrix.containers == 1 }}
# TODO: This should be removed once `next` is merged to `develop`.
continue-on-error: true
run: |
pnpm run build:viz
mv stats cypress/snapshots/stats/head
Expand All @@ -116,7 +120,7 @@ jobs:
# Size diff only needs to be posted from one job, on PRs.
- name: Comment PR size difference
if: ${{ github.event_name == 'pull_request' && matrix.containers == 1 }}
if: ${{ github.event_name == 'pull_request' && matrix.containers == 1 && steps.size.outputs.size_diff }}
uses: thollander/actions-comment-pull-request@v2
with:
message: |
Expand Down

0 comments on commit a5196a8

Please sign in to comment.