Commit 95b483ef authored by Winsley's avatar Winsley Committed by Andrea Giammarchi

Issue 7005 - Install peer dependencies for nightlies

parent 498abac0
......@@ -6,6 +6,13 @@ before_script:
- curl -sL https://deb.nodesource.com/setup_8.x | bash -
- apt-get update -yqq
- apt-get install -yqq nodejs
- npm install -g install-peerdeps
# enable unsafe-perm to avoid problems with running npm as root
# see adblockplusui#193
- export npm_config_unsafe_perm=true
# peer dependencies need to be installed explicitly see adblockplusui#211
- install-peerdeps [email protected]
- install-peerdeps [email protected]
stages:
- lint
......@@ -16,9 +23,6 @@ stages:
lint:
stage: lint
script:
# enable unsafe-perm to avoid problems with running npm as root
# see adblockplusui#193
- export npm_config_unsafe_perm=true
- npm install
- npm run lint
only:
......@@ -28,9 +32,6 @@ lint:
test:
stage: test
script:
# enable unsafe-perm to avoid problems with running npm as root
# see adblockplusui#193
- export npm_config_unsafe_perm=true
- npm install
- npm run test
only:
......@@ -40,9 +41,6 @@ test:
build:
stage: build
script:
# enable unsafe-perm to avoid problems with running npm as root
# see adblockplusui#193
- export npm_config_unsafe_perm=true
# Clone adblockpluschrome
- git clone ${CI_REPOSITORY_URL/adblockplusui.git/adblockpluschrome.git}
- cd adblockpluschrome
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment