This commit is contained in:
William Durand 2019-01-18 11:20:35 +01:00 коммит произвёл GitHub
Родитель 6ae212bbf3
Коммит 0338ac6132
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 11 добавлений и 8 удалений

2
.nvmrc
Просмотреть файл

@ -1 +1 @@
8.15.0
10.15.0

Просмотреть файл

@ -3,18 +3,18 @@ _aliases:
- &tox
language: python
python: 3.6
before_install: nvm install 8
before_install: nvm install 10
install: pip install tox
script: tox
- &node-prod
# This is the NodeJS version we run in production.
language: node_js
node_js: '8'
node_js: '10'
before_install: npm install -g yarn
- &node-next
# This is the next NodeJS version we will support.
language: node_js
node_js: '10'
node_js: '11'
before_install: npm install -g yarn
services:
- docker
@ -30,6 +30,10 @@ script: FORCE_COLOR=0 yarn $COMMAND
# See: https://github.com/mozilla/addons-frontend/issues/3034
install: yarn install --pure-lockfile
matrix:
allow_failures:
- node_js: '11'
jobs:
include:
# Test the build process.
@ -82,8 +86,7 @@ jobs:
<<: *tox
env: TOXENV=dennis-lint
- stage: Storybook deployment
<<: *node-prod
if: branch = master AND type = push AND fork = false
language: node_js
node_js: '8'
script: echo "Deploying to GitHub Pages..."
after_success: yarn storybook-deploy --ci > /dev/null 2>&1

Просмотреть файл

@ -19,7 +19,7 @@ Never submit security-related bugs through a Github Issue or by email.
## Requirements
- You need [Node](https://nodejs.org/) 8.x which is the current [LTS](https://github.com/nodejs/LTS) (long term support) release.
- You need [Node](https://nodejs.org/) 10.x which is the current [LTS](https://github.com/nodejs/LTS) (long term support) release.
- Install [yarn](https://yarnpkg.com/en/) to manage dependencies and run scripts.
The easiest way to manage multiple node versions in development is to use [nvm](https://github.com/creationix/nvm).

Просмотреть файл

@ -5,7 +5,7 @@
"main": "index.js",
"private": true,
"engines": {
"node": ">=8.10"
"node": ">=10.15"
},
"scripts": {
"build": "npm run clean && better-npm-run build",