File tree Expand file tree Collapse file tree 2 files changed +44
-81
lines changed Expand file tree Collapse file tree 2 files changed +44
-81
lines changed Original file line number Diff line number Diff line change @@ -755,3 +755,47 @@ jobs:
755755 if : contains(needs.*.result, 'failure')
756756 run : |
757757 echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
758+
759+ replay_metrics :
760+ name : Replay Metrics
761+ needs : [job_get_metadata, job_build]
762+ runs-on : ubuntu-20.04
763+ timeout-minutes : 30
764+ steps :
765+ - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
766+ uses : actions/checkout@v3
767+ with :
768+ ref : ${{ env.HEAD_COMMIT }}
769+ - name : Set up Node
770+ uses : volta-cli/action@v4
771+ - name : Check dependency cache
772+ uses : actions/cache@v3
773+ with :
774+ path : ${{ env.CACHED_DEPENDENCY_PATHS }}
775+ key : ${{ needs.job_build.outputs.dependency_cache_key }}
776+ - name : Check build cache
777+ uses : actions/cache@v3
778+ with :
779+ path : ${{ env.CACHED_BUILD_PATHS }}
780+ key : ${{ env.BUILD_CACHE_KEY }}
781+
782+ - name : Setup
783+ run : yarn install
784+ working-directory : packages/replay/metrics
785+
786+ - name : Collect
787+ run : yarn ci:collect
788+ working-directory : packages/replay/metrics
789+
790+ - name : Process
791+ id : process
792+ run : yarn ci:process
793+ working-directory : packages/replay/metrics
794+ env :
795+ GITHUB_TOKEN : ${{ github.token }}
796+
797+ - name : Upload results
798+ uses : actions/upload-artifact@v3
799+ with :
800+ name : ${{ steps.process.outputs.artifactName }}
801+ path : ${{ steps.process.outputs.artifactPath }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments