Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Refactor yarn setup in CI to generate terms of use content while retaining performance optimization #10844

Merged
merged 11 commits into from
Aug 28, 2024

Conversation

Cal-L
Copy link
Contributor

@Cal-L Cal-L commented Aug 27, 2024

Description

Ignores TOU content file so that it's respected by .gitignore. Update CI to call yarn setup --node, which is retains the same optimized performance for CI ~80s for the yarn setup step.

Related issues

Fixes:

Manual testing steps

  • Run yarn setup, which generates the TOU content file
  • Notice the generated file isn't showing as a diff
  • Running the app shows that TOU content still appears
  • Lint and tests still pass
  • CI and E2E should pass

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@Cal-L Cal-L requested a review from a team as a code owner August 27, 2024 22:37
Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@Cal-L Cal-L added Run Smoke E2E Triggers smoke e2e on Bitrise No QA Needed Apply this label when your PR does not need any QA effort. needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) labels Aug 27, 2024
Copy link
Contributor

github-actions bot commented Aug 27, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 76844c3
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/993ccaa6-b660-4c38-ba92-84e86c1d5f75

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@Cal-L Cal-L added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Aug 28, 2024
Copy link
Contributor

github-actions bot commented Aug 28, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 8bc67c4
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/c3de4e15-c7af-475c-a510-9fc194ed83ce

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@Cal-L Cal-L changed the title fix: Ignore terms of use content fix: Refactor yarn setup in CI to generate terms of use content while retaining performance optimization Aug 28, 2024
Copy link

@tommasini tommasini added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Aug 28, 2024
Copy link
Contributor

github-actions bot commented Aug 28, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: fae08cc
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/ec35c886-2d4b-4239-8807-a397dcc2cd2f

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@tommasini tommasini merged commit 80b561c into main Aug 28, 2024
39 checks passed
@tommasini tommasini deleted the chore/ignore-tou branch August 28, 2024 20:03
@github-actions github-actions bot locked and limited conversation to collaborators Aug 28, 2024
@github-actions github-actions bot removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Aug 28, 2024
@metamaskbot metamaskbot added the release-7.31.0 Issue or pull request that will be included in release 7.31.0 label Aug 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
No QA Needed Apply this label when your PR does not need any QA effort. release-7.31.0 Issue or pull request that will be included in release 7.31.0 Run Smoke E2E Triggers smoke e2e on Bitrise team-mobile-platform
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants