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:
Justin 2022-05-17 12:29:59 +00:00
commit b8bcd53d49

View file

@ -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