<p dir="auto">Since rails 7, the <code class="notranslate">rails yarn:install</code> command no longer uses bin/yarn and so it</p>
<ul dir="auto">
<li>doesn't detect yarn binaries named "yarnpkg" (e.g. Ubuntu), and</li>
<li>doesn't allow us to pass any flags to yarn, (e.g. "--ignore-engines").</li>
</ul>
<p dir="auto">Since we want to avoid making the installation more difficult (by e.g. installing yarn from other sources, or requiring particular node versions) we can instead just use our existing bin/yarn script.</p>
<p dir="auto">The reason Dockerfile did its own thing was to avoid pulling in big chunks of rails, but bin/yarn is a standalone ruby script.</p>
<p dir="auto"><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #3579.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1279007184" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/3579" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/3579/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/3579">#3579</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/3890'>https://github.com/openstreetmap/openstreetmap-website/pull/3890</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3890/commits/581bf517cb591400d1b194606294868015f4f87c" class="commit-link">581bf51</a>  Use bin/yarn consistently for installations</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3890/files">5 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3890/files#diff-107e910e9f2ebfb9a741fa10b2aa7100cc1fc4f5f3aca2dfe78b905cbd73c0d2">.github/workflows/lint.yml</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3890/files#diff-1db27d93186e46d3b441ece35801b244db8ee144ff1405ca27a163bfe878957f">.github/workflows/tests.yml</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3890/files#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557">Dockerfile</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3890/files#diff-09b140a43ebfdd8dbec31ce72cafffd15164d2860fd390692a030bcb932b54a0">INSTALL.md</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3890/files#diff-dcd17c18ef06dc1c5c49caa05ecb7aabc1230dbc967d7e4e2bf1e3e51c06a9b1">script/vagrant/setup/provision.sh</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3890.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3890.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3890.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3890.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3890">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLYGFULQNLWCWAPGBDWR26DDANCNFSM6AAAAAATYC45WA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMPKE25QVWT7Y6OHODWR26DDA5CNFSM6AAAAAATYC45WCWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHFWJFZBQ.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/3890</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3890",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3890",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>