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

feat: use macos-(latest|13) based on node version #440

Merged
merged 1 commit into from
May 2, 2024

Conversation

lukekarrys
Copy link
Contributor

@lukekarrys lukekarrys commented May 1, 2024

macos-latest recently switch to M1s which don't have Node builds for v14 and below. This change adds both macos-latest and macos-13 (which uses x86 cpus) and then excludes one or the other based on the Node version in the matrix. The result is still only one macOS CI job per Node version, but it will now use the correct CPU architecture per version.

@lukekarrys lukekarrys requested a review from a team as a code owner May 1, 2024 22:22
@lukekarrys lukekarrys changed the title lk/huge uninterested bear feat: use macos-(latest|13) based on node version May 1, 2024
Copy link
Contributor

@fritzy fritzy left a comment

Choose a reason for hiding this comment

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

Interesting! I'd like a little bit more context in the PR description/comment. Looks good!

@lukekarrys lukekarrys merged commit 21c9262 into main May 2, 2024
23 checks passed
@lukekarrys lukekarrys deleted the lk/huge-uninterested-bear branch May 2, 2024 03:37
@github-actions github-actions bot mentioned this pull request May 2, 2024
@lukekarrys
Copy link
Contributor Author

@fritzy good call, landed it with some more context in the commit and PR body 👍

lukekarrys pushed a commit that referenced this pull request May 3, 2024
🤖 I have created a release *beep* *boop*
---


##
[4.22.0](v4.21.4...v4.22.0)
(2024-05-03)

### Features

*
[`21c9262`](21c9262)
[#440](#440) use
macos-(latest|13) based on node version (#440) (@lukekarrys)

### Bug Fixes

*
[`8b2e738`](8b2e738)
[#432](#432) remove custom
node-workspace plugin (@lukekarrys)
*
[`0df268d`](0df268d)
[#442](#442) properly check for
diff with multiple files from overwrite:false (#442) (@lukekarrys)
*
[`2eca24b`](2eca24b)
[#441](#441) use git+https
protocol for repo url (#441) (@lukekarrys)
*
[`732dddc`](732dddc)
[#439](#439) update actions
workflow versions (#439) (@lukekarrys)
*
[`7949ec3`](7949ec3)
[#438](#438) add node 22 to CI
matrix (#438) (@lukekarrys)
*
[`6d54cbf`](6d54cbf)
[#436](#436) get correct exit
code from npm publish/view (#436) (@lukekarrys)
*
[`d0bf7c2`](d0bf7c2)
[#435](#435) update license
(#435) (@lukekarrys)
*
[`df03d8b`](df03d8b)
[#433](#433) dont create chore
only PRs (#433) (@lukekarrys)

### Dependencies

*
[`dff1b5b`](dff1b5b)
[#432](#432) bump release-please
from 16.3.1 to 16.10.2 (@dependabot[bot])

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

None yet

2 participants