[build.environment]
  YARN_VERSION = "1.17.3"
  NPM_VERSION = "6.4.1"
  HUGO_VERSION = "0.59.0"

[build]
  command = "yarn run build"
  publish = "dist"

[context.deploy-preview]
  command = "HUGO_BASEURL=$DEPLOY_PRIME_URL yarn run build:preview"

[build.environment]
  YARN_VERSION = "1.17.3"
  NPM_VERSION = "6.4.1"
  HUGO_VERSION = "0.59.0"
  NODE_VERSION = "12"

[build]
  command = "yarn run build"
  publish = "dist"

[context.deploy-preview]
  command = "HUGO_BASEURL=$DEPLOY_PRIME_URL yarn run build:preview"

Switch to Node.js 12.x in Netlify
Switch to Node.js 12.x in Netlify

Current preview deployments with netlify fail with

```
error node-sass@6.0.1: The engine "node" is incompatible with this module. Expected version ">=12". Got "10.24.1"
```

The base image we're using is based on Ubuntu 20.04 (focal), which ships
with Node.js 10. Explicitly use version 12.
