我有一个在 Bitbucket 上进行测试的应用程序,我想在每次 sombebody 将某些东西推送到 git 时运行测试。我发现 Bitbucket Pipelines 的新功能是最好的。
我需要的?我在任何地方都找不到我可以使用的最新版本的 Node js。我正在使用 ES6 (ES2015) 语法,但它失败了,因为它不知道let, const, class, ...
关键字。
我有bitbucket-pipelines.yml
它看起来像这样:
图片:节点:5.11.0
pipelines:
default:
- step:
script: # Modify the commands below to build your repository.
- npm install
- npm test
但它失败了。我可以使用的最新版本的节点 js 是什么?