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
Unknown Object (File)
Wed, Nov 13, 12:43 AM
Unknown Object (File)
Sun, Nov 10, 7:05 AM
Unknown Object (File)
Sat, Nov 9, 2:34 PM
Unknown Object (File)
Sat, Nov 9, 10:18 AM
Unknown Object (File)
Sat, Nov 9, 9:53 AM
Unknown Object (File)
Sat, Nov 9, 4:46 AM
Unknown Object (File)
Sun, Oct 20, 9:04 PM
Unknown Object (File)
Oct 9 2024, 11:07 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
Branch
arcpatch-D8687 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

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.