Closed 36degrees closed 6 years ago
A recent update to Travis’ build environment means that we now end up with Yarn 1.3.2 rather than 0.27.5.
Yarn introduced a check against package.json’s engines definition in 1.0 which we are now failing, because we specify an engine of >=8.1.4 for Heroku but install 4.4.7 on Travis:
engines
>=8.1.4
4.4.7
[1/5] Validating package.json... error govuk-elements@: The engine "node" is incompatible with this module. Expected version ">=8.1.4".
Installing the latest version of Node 8 on Travis should fix this.
Mostly guesswork. But look, the tests pass!
Dependency update.
What problem does the pull request solve?
A recent update to Travis’ build environment means that we now end up with Yarn 1.3.2 rather than 0.27.5.
Yarn introduced a check against package.json’s
engines
definition in 1.0 which we are now failing, because we specify an engine of>=8.1.4
for Heroku but install4.4.7
on Travis:Installing the latest version of Node 8 on Travis should fix this.
How has this been tested?
Mostly guesswork. But look, the tests pass!
What type of change is it?
Dependency update.
Has the documentation been updated?