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

Upgrade the checkout Github action. #6333

Merged
merged 3 commits into from
Jan 5, 2023
Merged

Conversation

jimmymadon
Copy link
Collaborator

@jimmymadon jimmymadon commented Dec 15, 2022

Summary

Addresses issue:

Relevant technical choices

PR Author Checklist

  • My code is tested and passes existing unit tests.
  • My code has an appropriate set of unit tests which all pass.
  • My code is backward-compatible with WordPress 5.2 and PHP 5.6.
  • My code follows the WordPress coding standards.
  • My code has proper inline documentation.
  • I have added a QA Brief on the issue linked above.
  • I have signed the Contributor License Agreement (see https://cla.developers.google.com/).

Do not alter or remove anything below. The following sections will be managed by moderators only.

Code Reviewer Checklist

  • Run the code.
  • Ensure the acceptance criteria are satisfied.
  • Reassess the implementation with the IB.
  • Ensure no unrelated changes are included.
  • Ensure CI checks pass.
  • Check Storybook where applicable.
  • Ensure there is a QA Brief.

Merge Reviewer Checklist

  • Ensure the PR has the correct target branch.
  • Double-check that the PR is okay to be merged.
  • Ensure the corresponding issue has a ZenHub release assigned.
  • Add a changelog message to the issue.

@github-actions
Copy link

github-actions bot commented Dec 15, 2022

Size Change: -4.26 kB (0%)

Total Size: 1.2 MB

Filename Size Change
./dist/assets/css/googlesitekit-admin-css-********************.min.css 47.4 kB +49 B (0%)
./dist/assets/css/googlesitekit-wp-dashboard-css-********************.min.css 7.14 kB +17 B (0%)
./dist/assets/js/33-********************.js 3.12 kB -2 B (0%)
./dist/assets/js/googlesitekit-activation-********************.js 26.8 kB -18 B (0%)
./dist/assets/js/googlesitekit-adminbar-********************.js 35.4 kB +266 B (+1%)
./dist/assets/js/googlesitekit-api-********************.js 9.45 kB +137 B (+1%)
./dist/assets/js/googlesitekit-base-********************.js 1.13 kB -1 B (0%)
./dist/assets/js/googlesitekit-components-gm2-********************.js 5.82 kB +6 B (0%)
./dist/assets/js/googlesitekit-data-********************.js 2.15 kB +31 B (+1%)
./dist/assets/js/googlesitekit-datastore-forms-********************.js 9.13 kB +12 B (0%)
./dist/assets/js/googlesitekit-datastore-site-********************.js 15.3 kB +4 B (0%)
./dist/assets/js/googlesitekit-datastore-ui-********************.js 9.25 kB +14 B (0%)
./dist/assets/js/googlesitekit-datastore-user-********************.js 21.7 kB +39 B (0%)
./dist/assets/js/googlesitekit-entity-dashboard-********************.js 63.6 kB +297 B (0%)
./dist/assets/js/googlesitekit-main-dashboard-********************.js 69 kB -909 B (-1%)
./dist/assets/js/googlesitekit-modules-********************.js 20.2 kB -4 B (0%)
./dist/assets/js/googlesitekit-modules-adsense-********************.js 69.5 kB +19 B (0%)
./dist/assets/js/googlesitekit-modules-analytics-4-********************.js 19.4 kB +14 B (0%)
./dist/assets/js/googlesitekit-modules-analytics-********************.js 70.6 kB +304 B (0%)
./dist/assets/js/googlesitekit-modules-optimize-********************.js 18.8 kB +64 B (0%)
./dist/assets/js/googlesitekit-modules-pagespeed-insights-********************.js 21.2 kB +1.1 kB (+6%) 🔍
./dist/assets/js/googlesitekit-modules-search-console-********************.js 38.4 kB +355 B (+1%)
./dist/assets/js/googlesitekit-modules-tagmanager-********************.js 31.8 kB +97 B (0%)
./dist/assets/js/googlesitekit-settings-********************.js 50.1 kB -1.03 kB (-2%)
./dist/assets/js/googlesitekit-splash-********************.js 68.6 kB +69 B (0%)
./dist/assets/js/googlesitekit-user-input-********************.js 43.2 kB +610 B (+1%)
./dist/assets/js/googlesitekit-vendor-********************.js 325 kB -4.19 kB (-1%)
./dist/assets/js/googlesitekit-widgets-********************.js 15.6 kB +262 B (+2%)
./dist/assets/js/googlesitekit-wp-dashboard-********************.js 56.8 kB -1.88 kB (-3%)
./dist/assets/js/runtime-********************.js 1.26 kB +2 B (0%)
ℹ️ View Unchanged
Filename Size
./dist/assets/css/googlesitekit-adminbar-css-********************.min.css 11 kB
./dist/assets/js/30-********************.js 2.8 kB
./dist/assets/js/31-********************.js 2.28 kB
./dist/assets/js/32-********************.js 3.72 kB
./dist/assets/js/analytics-advanced-tracking-********************.js 769 B
./dist/assets/js/googlesitekit-components-gm3-********************.js 421 B
./dist/assets/js/googlesitekit-datastore-location-********************.js 2.09 kB
./dist/assets/js/googlesitekit-i18n-********************.js 3.92 kB
./dist/assets/js/googlesitekit-polyfills-********************.js 379 B

compressed-size-action

Copy link
Collaborator

@aaemnnosttv aaemnnosttv left a comment

Choose a reason for hiding this comment

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

Thanks @jimmymadon – this looks good to me, one question about the browserslist action as I seem to recall we had to use v1 so long as we were using an older node/npm version.

@@ -59,7 +59,7 @@ jobs:
git config --global user.name "GitHub Actions"

- name: Update Browserslist database and create PR if applicable
uses: c2corg/browserslist-update-action@v1
uses: c2corg/browserslist-update-action@v2
Copy link
Collaborator

Choose a reason for hiding this comment

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

@nfmohit can we do this? I seem to recall that we can't.

Copy link
Collaborator

Choose a reason for hiding this comment

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

That is correct, thank you for spotting, @aaemnnosttv.

@jimmymadon Unfortunately, the v2 of c2corg/browserslist-update-action wouldn't work in our case because it requires a higher Node & NPM version to function. Until that is updated, we will need to stick with v1 for now.

More context here.

@aaemnnosttv aaemnnosttv requested a review from nfmohit December 19, 2022 22:04
Copy link
Collaborator

@nfmohit nfmohit left a comment

Choose a reason for hiding this comment

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

Thank you, @jimmymadon.

Just reflecting on what @aaemnnosttv raised, we need to revert the c2corg/browserslist-update-action to use v1.

@@ -59,7 +59,7 @@ jobs:
git config --global user.name "GitHub Actions"

- name: Update Browserslist database and create PR if applicable
uses: c2corg/browserslist-update-action@v1
uses: c2corg/browserslist-update-action@v2
Copy link
Collaborator

Choose a reason for hiding this comment

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

That is correct, thank you for spotting, @aaemnnosttv.

@jimmymadon Unfortunately, the v2 of c2corg/browserslist-update-action wouldn't work in our case because it requires a higher Node & NPM version to function. Until that is updated, we will need to stick with v1 for now.

More context here.

Copy link
Collaborator

@aaemnnosttv aaemnnosttv left a comment

Choose a reason for hiding this comment

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

Great, thanks @jimmymadon !

@aaemnnosttv aaemnnosttv merged commit afc11b0 into develop Jan 5, 2023
@aaemnnosttv aaemnnosttv deleted the 6188-update-github-actions branch January 5, 2023 20:10
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.

3 participants