Page MenuHomePhabricator

[GH Actions] Remove "Install Yarn" step from Android workflows
ClosedPublic

Authored by atul on Jul 31 2023, 2:57 PM.
Tags
None
Referenced Files
F2154367: D8687.id.diff
Sun, Jun 30, 7:11 PM
F2151947: D8687.id29368.diff
Sun, Jun 30, 1:50 PM
Unknown Object (File)
Sat, Jun 29, 6:50 PM
Unknown Object (File)
Sat, Jun 29, 9:03 AM
Unknown Object (File)
Wed, Jun 19, 3:14 PM
Unknown Object (File)
Thu, Jun 6, 9:03 PM
Unknown Object (File)
Thu, Jun 6, 9:03 PM
Unknown Object (File)
Thu, Jun 6, 1:35 AM
Subscribers

Details

Summary

This step is no longer necessary since Yarn 1.22.19 is included on Ubuntu 22.04 runners:

6b74c2.png (796×904 px, 88 KB)

(https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#package-management)

Test Plan

Removed step on fork and observed that subsequent yarn ci-cleaninstall step succeeded.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul added a subscriber: michal.

I believe this can also be removed from windows_ci.yaml, but I left that alone (cc @michal).

atul published this revision for review.Jul 31 2023, 2:58 PM

Can this be done for all runners? Both windows and macos seem to have Yarn 1.22.19

How about .github/workflows/windows_ci.yml? Can you update that one too before landing?

This revision is now accepted and ready to land.Aug 1 2023, 5:36 AM

Can this be done for all runners? Both windows and macos seem to have Yarn 1.22.19

How about .github/workflows/windows_ci.yml? Can you update that one too before landing?

Yeah mentioned in the comment that it could probably be done for the windows_ci workflow as well. Left it alone because I didn't want to risk breaking it and it'd take a while to test.

I'll update this diff to include the change and I guess revert if there are any issues.

remove install yarn step from all workflows

This revision was landed with ongoing or failed builds.Aug 1 2023, 1:11 PM
This revision was automatically updated to reflect the committed changes.