diff --git a/.circleci/config.yml b/.circleci/config.yml index 2dc8472c59..48794f1c58 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -105,8 +105,8 @@ jobs: yarn danger ci fi - store_artifacts: - path: dist/artifacts - destination: artifacts + path: packages/perf-test/dist + destination: artifacts/perf - run: name: Publish npm package (master only) command: | diff --git a/build/dangerjs/checkPerfRegressions.ts b/build/dangerjs/checkPerfRegressions.ts index 3ce49aa491..a21a4488d2 100644 --- a/build/dangerjs/checkPerfRegressions.ts +++ b/build/dangerjs/checkPerfRegressions.ts @@ -1,5 +1,4 @@ import * as _ from 'lodash' -import * as fs from 'fs-extra' import * as path from 'path' import { DangerJS } from './types' @@ -43,15 +42,6 @@ function fluentFabricComparision(danger, markdown, warn) { }, ) - fs.mkdirpSync(config.paths.ciArtifacts('perf')) - - _.forEach(results, value => { - fs.copyFileSync( - value.fluentFlamegraphFile, - config.paths.ciArtifacts('perf', path.basename(value.fluentFlamegraphFile)), - ) - }) - const getStatus = fluentToFabric => fluentToFabric > 1 ? '🔧' : fluentToFabric >= 0.7 ? '🎯' : '🦄'