1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

ci - install deps with "--har" flag to capture network activity (#7143)

* ci - install deps with "--har" flag to capture network activity

* ci - add yarn install HAR logs to build-artifacts

* ci - yarn har - fix typo

* Update .circleci/scripts/collect-har-artifact.sh

Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
This commit is contained in:
kumavis 2019-09-12 00:03:47 +08:00 committed by GitHub
parent 629f5ef221
commit dbbf6986d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -92,11 +92,16 @@ jobs:
- run:
name: Install deps
command: |
yarn --frozen-lockfile
yarn --frozen-lockfile --har
- run:
name: Collect yarn install HAR logs
command: |
.circleci/scripts/collect-har-artifact.sh
- persist_to_workspace:
root: .
paths:
- node_modules
- build-artifacts
prep-build:
docker:

View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -x
mkdir -p build-artifacts/yarn-install-har
mv ./*.har build-artifacts/yarn-install-har/