Add 'install' step and cache it

merge-requests/1406/head
Justin 2022-05-17 07:39:59 -04:00
rodzic 1a1df69d0b
commit 677ccfdf7e
1 zmienionych plików z 9 dodań i 4 usunięć

Wyświetl plik

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