Skip to content

Conversation

@Drarig29
Copy link
Contributor

@Drarig29 Drarig29 commented Apr 24, 2024

What and why?

https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/

Yesterday, the macos-latest tag changed:

Corresponding docs PR: actions/runner-images#9601

Because of this change, the setup-node job started failing with:

Unable to find Node version '14.18.3' for platform darwin and architecture arm64

The reason is that there is no node-14.18.3-darwin-arm64.tar.gz asset in this release, probably because Node.js 14 was never compiled for darwin arm64:

How?

  • Stay up-to-date and still use the macos-latest runner, which is now lighter and on arm64
  • Use Node.js 14.18.3 for all jobs, except when building the standalone binary because pkg downloads the right Node.js binary anyway.

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)

@Drarig29 Drarig29 requested a review from a team as a code owner April 24, 2024 15:42
@Drarig29 Drarig29 added the chores Related to the CI or developer experience label Apr 24, 2024
@datadog-datadog-prod-us1
Copy link

Datadog Report

Branch report: corentin.girard/fix-macos-runner
Commit report: 0bb37ea
Test service: datadog-ci-tests

✅ 0 Failed, 8112 Passed, 0 Skipped, 58.66s Wall Time

@Drarig29 Drarig29 merged commit 0590d9f into master Apr 24, 2024
@Drarig29 Drarig29 deleted the corentin.girard/fix-macos-runner branch April 24, 2024 16:15
@Drarig29 Drarig29 mentioned this pull request May 21, 2024
Drarig29 added a commit to Drarig29/d4t4d09-ci that referenced this pull request May 21, 2024
@Drarig29 Drarig29 mentioned this pull request Jun 11, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chores Related to the CI or developer experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants