Currently, both Smoke tests and Acceptance tests have their own logic for determining the archive filename for Node.
Both sets of logic are simple and don't match what Volta does internally.
This causes issues with the tests in situations where the logic doesn't exactly match. One example of this is on Apple Silicon machines since we fetch older Node versions that rely on the fallback logic.
The end result is that our tests fail on Apple Silicon machines.
This is an issue, as GitHub actions recently updated macos-latest to use an M1 mac, causing our CI to fail.
Changes
Updated the fixture configuration for acceptance tests to use the logic for determining the Node distro file name from Volta itself.
Updated the test support for smoke tests to similarly reuse the Volta-defined logic for calculating the distro archive filename.
Info
macos-latest
to use an M1 mac, causing our CI to fail.Changes
Tested