Merge branch 'improve-ci-perf' into 'develop'
Add 'install' step and cache it See merge request soapbox-pub/soapbox-fe!1406
This commit is contained in:
commit
b8bcd53d49
1 changed files with 9 additions and 4 deletions
|
@ -8,17 +8,22 @@ cache:
|
|||
files:
|
||||
- yarn.lock
|
||||
paths:
|
||||
- node_modules
|
||||
- node_modules/
|
||||
|
||||
stages:
|
||||
- install
|
||||
- lint
|
||||
- test
|
||||
- build
|
||||
- deploy
|
||||
|
||||
before_script:
|
||||
- env
|
||||
- yarn
|
||||
install-dependencies:
|
||||
stage: install
|
||||
script:
|
||||
- yarn install --ignore-scripts
|
||||
artifacts:
|
||||
paths:
|
||||
- node_modules/
|
||||
|
||||
lint-js:
|
||||
stage: lint
|
||||
|
|
Loading…
Reference in a new issue