From e3b6bcc5f8d325d3b224f415003c770a8349cba5 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Mon, 19 Nov 2018 18:42:21 +0100 Subject: [PATCH] After removing ws, node version 10 should work In my local environment I switched to Fedora 29. Fedora 29 comes with NodeJS version 10. As far as I can say, it works, so let's try to remove the restriction to "<10.x" Signed-off-by: Sheogorath --- .travis.yml | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 887299b..52da97f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,12 @@ jobs: before_install: - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$YARN_VERSION" - export PATH="$HOME/.yarn/bin:$PATH" + - env: task=npm-test + node_js: + - 10 + before_install: + - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$YARN_VERSION" + - export PATH="$HOME/.yarn/bin:$PATH" - env: task=ShellCheck script: - shellcheck bin/heroku bin/setup diff --git a/package.json b/package.json index 2cc9415..6432986 100644 --- a/package.json +++ b/package.json @@ -135,7 +135,7 @@ "xss": "^1.0.3" }, "engines": { - "node": ">=6.x <10.x" + "node": ">=6.x" }, "bugs": "https://github.com/hackmdio/codimd/issues", "keywords": [