Skip to content
Snippets Groups Projects
Commit 6439ba37 authored by Jure's avatar Jure
Browse files

Merge branch 'ci-config' into 'master'

Install dependencies only once

See merge request pubsweet/pubsweet!18
parents d51e7a97 f92c7825
No related branches found
No related tags found
No related merge requests found
image: pubsweet/pubsweet-test-base
before_script:
- yarn
install:
stage: build
script: yarn
artifacts:
expire_in: 1h
paths:
- node_modules
- packages/*/node_modules
- packages/components/packages/*/node_modules
test:
script:
- npm test
coverage: '/^All files\s+\|\s+(\d+.\d+)\s\|.*$/'
lint:style:
script: npm run lint:style
lint:
script:
- npm run lint
lint:js:
script: npm run lint:js
test:
script: npm run test
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