From a36e2574e0296aedc531bd283e0702e149c40002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Thu, 10 May 2018 08:54:23 +0200 Subject: [PATCH] ci: pin Node.js 10.x version to 10.0.0 When running on Node.js 10.1.0, fs-extra triggers the following warning: ExperimentalWarning: The fs.promises API is experimental Unfortunately it's not enough to upgrade to the latest fs-extra, because many of our (deep) dependencies are still using an older fs-extra version. --- .travis.yml | 3 ++- appveyor.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 48a019571e53..fd33f3e8504d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,8 @@ sudo: false language: node_js node_js: - "8" - - "10" + - "10.0.0" # Pinned to prevent warning "fs.promises API is experimental" + # Waiting for https://github.com/nodejs/node/pull/20632 os: - linux diff --git a/appveyor.yml b/appveyor.yml index c2cedf83d207..6100f33128fb 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,7 @@ environment: matrix: - nodejs_version: "8" - - nodejs_version: "10" + - nodejs_version: "10.0.0" install: - ps: Install-Product node $env:nodejs_version