Add 'install' step and cache it

This commit is contained in:
Justin 2022-05-17 07:39:59 -04:00
parent 1a1df69d0b
commit 677ccfdf7e

View file

@ -8,17 +8,22 @@ cache:
files: files:
- yarn.lock - yarn.lock
paths: paths:
- node_modules - node_modules/
stages: stages:
- install
- lint - lint
- test - test
- build - build
- deploy - deploy
before_script: install_dependencies:
- env stage: install
- yarn script:
- yarn install --ignore-scripts
artifacts:
paths:
- node_modules/
lint-js: lint-js:
stage: lint stage: lint