Skip to content

Commit

Permalink
chore: update github script (#1145)
Browse files Browse the repository at this point in the history
  • Loading branch information
surekhaw authored Oct 15, 2024
1 parent 65f8ae2 commit fe8dd6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/snapshotCommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
repository: ${{ github.event.workflow_run.head_repository.full_name }}

- name: Download Artifacts
uses: actions/github-script@v3.1.0
uses: actions/github-script@v7
with:
script: |
const fs = require('fs');
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Reset Label
if: github.event.workflow_run.event == 'pull_request'
uses: actions/github-script@v3.1.0
uses: actions/github-script@v7
with:
# The workflow_run that comes along with the event drops the PR number for some reason
# so we have to pass the PR number from the original workflow as an artifact
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/snapshotCompare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ jobs:
run: |
npm run test:func -- --testPathPattern "${{ matrix.testPathPattern }}"
- name: Collect Diffs and Upload to Imgur
run: |
./scripts/snapshot-tests/collect-diffs.sh
# - name: Collect Diffs and Upload to Imgur
# run: |
# ./scripts/snapshot-tests/collect-diffs.sh

compareSnapshotsV2:
name: Compare V2
Expand Down Expand Up @@ -101,6 +101,6 @@ jobs:
run: |
CONFIG_PATH=${{ matrix.testConfig }} npm run test:func:snapshots
- name: Collect Diffs and Upload to Imgur
run: |
./scripts/snapshot-tests/collect-diffs-v2.sh
# - name: Collect Diffs and Upload to Imgur
# run: |
# ./scripts/snapshot-tests/collect-diffs-v2.sh

0 comments on commit fe8dd6e

Please sign in to comment.