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:
parent
629f5ef221
commit
dbbf6986d2
@ -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:
|
||||||
|
5
.circleci/scripts/collect-har-artifact.sh
Executable file
5
.circleci/scripts/collect-har-artifact.sh
Executable 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/
|
Loading…
Reference in New Issue
Block a user