Skip to content

Check yarn version and enable corepack#14

Merged
anarchivist merged 2 commits intomainfrom
corepack-enable
Aug 14, 2025
Merged

Check yarn version and enable corepack#14
anarchivist merged 2 commits intomainfrom
corepack-enable

Conversation

@anarchivist
Copy link
Member

@anarchivist anarchivist commented Aug 13, 2025

Without this, we cannot guarantee that we will build galc-ui with the correct version of Yarn. GitHub Actions Ubuntu images ship with Yarn 1.22.22 by default.

Without this, we cannot guarantee that we will build galc-ui
with the correct version of Yarn. GitHub Actions Ubuntu images
ship with [Yarn 1.22.22 by default][0].

[0]: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
@anarchivist anarchivist self-assigned this Aug 13, 2025
Copy link
Member

@awilfox awilfox left a comment

Choose a reason for hiding this comment

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

Looks good. Left a single minor suggestion regarding future-proofing of the shell script. r+ after that.

@jason-raitz
Copy link
Contributor

jason-raitz commented Aug 14, 2025

looks good. @anarchivist, While we're messing with this build, could we maybe alter the condition for publishing the snapshot?

maybe change

if: github.ref_name == 'main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')

to

if: (github.ref_name == 'main' && github.event_name == 'push') || github.event_name == 'workflow_dispatch'

That would allow a user to manually publish the snapshot on any branch. Could be useful for reviewing changes in staging.

Co-authored-by: A. Wilcox <AWilcox@Wilcox-Tech.com>
@anarchivist
Copy link
Member Author

@jason-raitz that's a good idea, but i don't think we should do it until automatic snapshot publishing is working. we can certainly revisit it in the future!

@anarchivist anarchivist merged commit 77b6f73 into main Aug 14, 2025
8 checks passed
@anarchivist anarchivist deleted the corepack-enable branch August 14, 2025 17:06
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