-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #958 from input-output-hk/fix/ci-build
fix: ci build + upload
- Loading branch information
Showing
8 changed files
with
2,362 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
src/api/migration-tool/cross-extension-messaging/nami/environment.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
if (process.env.LACE_EXTENSION_ID === undefined) { | ||
import secrets from '../../../../config/provider'; | ||
|
||
if (secrets.LACE_EXTENSION_ID === undefined) { | ||
throw new Error('process.env.LACE_EXTENSION_ID must be defined'); | ||
} | ||
export const LACE_EXTENSION_ID = process.env.LACE_EXTENSION_ID; | ||
export const LACE_EXTENSION_ID = secrets.LACE_EXTENSION_ID; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,28 @@ | ||
import * as Sentry from '@sentry/react'; | ||
|
||
Sentry.init({ | ||
environment: process.env.NODE_ENV, | ||
dsn: process.env.SENTRY_DSN, | ||
integrations: [ | ||
Sentry.browserTracingIntegration(), | ||
Sentry.browserProfilingIntegration(), | ||
Sentry.replayIntegration(), | ||
], | ||
// Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled | ||
tracePropagationTargets: ["localhost", "chrome-extension://bpmphiofbkjfgclgimheipflhladbngo"], | ||
// .5% | ||
tracesSampleRate: 0.05, | ||
profilesSampleRate: 0.05, | ||
// Since profilesSampleRate is relative to tracesSampleRate, | ||
// the final profiling rate can be computed as tracesSampleRate * profilesSampleRate | ||
// A tracesSampleRate of 0.05 and profilesSampleRate of 0.05 results in 2.5% of | ||
// transactions being profiled (0.05*0.05=0.0025) | ||
environment: process.env.NODE_ENV, | ||
dsn: process.env.SENTRY_DSN, | ||
integrations: [ | ||
Sentry.browserTracingIntegration(), | ||
Sentry.browserProfilingIntegration(), | ||
Sentry.replayIntegration(), | ||
], | ||
// Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled | ||
tracePropagationTargets: [ | ||
'localhost', | ||
'chrome-extension://lpfcbjknijpeeillifnkikgncikgfhdo', | ||
], | ||
// .5% | ||
tracesSampleRate: 0.05, | ||
profilesSampleRate: 0.05, | ||
// Since profilesSampleRate is relative to tracesSampleRate, | ||
// the final profiling rate can be computed as tracesSampleRate * profilesSampleRate | ||
// A tracesSampleRate of 0.05 and profilesSampleRate of 0.05 results in 2.5% of | ||
// transactions being profiled (0.05*0.05=0.0025) | ||
|
||
// Capture Replay for 0.5% of all sessions, | ||
replaysSessionSampleRate: 0.005, | ||
// ...plus for 100% of sessions with an error | ||
replaysOnErrorSampleRate: 1.0, | ||
// Capture Replay for 0.5% of all sessions, | ||
replaysSessionSampleRate: 0.005, | ||
// ...plus for 100% of sessions with an error | ||
replaysOnErrorSampleRate: 1.0, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters