fix: install cypress-localstorage-commands in the right place

This commit is contained in:
Jure Ursic 2020-07-16 16:07:25 +02:00
parent c548add236
commit 66b8b57f14

View File

@ -23,7 +23,6 @@ build:
stage: build
before_script:
- npm ci --cache .npm --prefer-offline --only=production
- npm i cypress-localstorage-commands
script:
- cp config.sample.json config.json
- npm run build
@ -45,6 +44,7 @@ test:e2e:
before_script:
# install missing dependencies
- npm install -g sirv-cli
- npm install cypress-localstorage-commands
# making sure the process is orphan
- sirv dist --port 3000 > /dev/null 2>&1 &
script: