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

Use specific prettier version #1117

Merged
merged 4 commits into from
Dec 20, 2023

Conversation

jiji14
Copy link
Contributor

@jiji14 jiji14 commented Dec 13, 2023

Background

Prettier failed on the UI Migration Wrap-up PR, and we discovered that it uses the latest Prettier version on GitHub Actions but version 3.0.3 in the project. Therefore, we have decided to stick with the specific version (3.0.3) to prevent this issue from occurring again.



Screenshot 2023-12-12 at 8 05 29 PM

the-bay-kay and others added 4 commits December 8, 2023 15:23
Homebrew installs packages differently depending on chip
architecture -- updated the setup script to reflect this difference.
📟 🛠️ Update `setup_ios_native.sh` to support Apple Silicone
@jiji14 jiji14 marked this pull request as draft December 13, 2023 00:24
Copy link

codecov bot commented Dec 13, 2023

Codecov Report

Merging #1117 (3ffa629) into service_rewrite_2023 (1006165) will not change coverage.
Report is 43 commits behind head on service_rewrite_2023.
The diff coverage is n/a.

Additional details and impacted files
@@                  Coverage Diff                  @@
##           service_rewrite_2023    #1117   +/-   ##
=====================================================
  Coverage                 58.80%   58.80%           
=====================================================
  Files                        26       26           
  Lines                      1420     1420           
  Branches                    320      320           
=====================================================
  Hits                        835      835           
  Misses                      585      585           
Flag Coverage Δ
unit 58.80% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@jiji14 jiji14 changed the title User specific prettier version Use specific prettier version Dec 13, 2023
@jiji14 jiji14 marked this pull request as ready for review December 13, 2023 04:11
Copy link
Collaborator

@JGreenlee JGreenlee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

If we ever decide to update the Prettier version, we will change it both here and in package.serve.json.

@@ -7,5 +7,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npx prettier --check www
- run: npx prettier@3.0.3 --check www
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to know we can set it to use a specific version this way!

JGreenlee added a commit to JGreenlee/e-mission-phone that referenced this pull request Dec 14, 2023
In 4f173ba I bumped the prettier version to 3.1. Whatever version we are using for the project should be the same as the workflow runs with (as we established in e-mission#1117)
Copy link
Contributor

@shankari shankari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@shankari shankari merged commit b32c0d4 into e-mission:service_rewrite_2023 Dec 20, 2023
4 checks passed
JGreenlee added a commit to JGreenlee/e-mission-phone that referenced this pull request Jan 25, 2024
In 4f173ba I bumped the prettier version to 3.1. Whatever version we are using for the project should be the same as the workflow runs with (as we established in e-mission#1117)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants