alphagov / govuk_elements

❗️GOV.UK Elements is deprecated, and will only receive major bug fixes and security patches.
https://govuk-elements.herokuapp.com/
MIT License
227 stars 90 forks source link

Bump Travis’ node version #589

Closed 36degrees closed 6 years ago

36degrees commented 6 years ago

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 install 4.4.7 on Travis:

[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.

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?