Skip to content

Commit

Permalink
run on prod build, exclude addtl marketing script
Browse files Browse the repository at this point in the history
  • Loading branch information
katiegoines committed Mar 21, 2024
1 parent 4b3907d commit 0fa1907
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_for_console_errors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Install Dependencies
run: yarn
- name: Run Build
run: yarn build
run: yarn build:release
env:
NODE_OPTIONS: --max_old_space_size=4096
- name: Run Server
Expand Down
3 changes: 2 additions & 1 deletion tasks/console-errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ const excludedErrors = [
const excludedScripts = [
'prod.assets.shortbread.aws',
'prod.tools.shortbread.aws',
'aa0.awsstatic.com'
'aa0.awsstatic.com',
'alpha.d2c.marketing.aws.dev'
];

const LOCALHOST = 'http://localhost:3000';
Expand Down

0 comments on commit 0fa1907

Please sign in to comment.