1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01: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: - run:
name: Install deps name: Install deps
command: | 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: - persist_to_workspace:
root: . root: .
paths: paths:
- node_modules - node_modules
- build-artifacts
prep-build: prep-build:
docker: 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/