GitLab CI: fix cache

jest-ts-fix
Alex Gleason 2022-06-17 19:02:58 -05:00
rodzic 403395d7da
commit 2a98a1e725
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -3,12 +3,13 @@ image: node:18
variables:
NODE_ENV: test
cache:
cache: &cache
key:
files:
- yarn.lock
paths:
- node_modules/
policy: pull
stages:
- deps
@ -21,6 +22,9 @@ deps:
only:
changes:
- yarn.lock
cache:
<<: *cache
policy: push
danger:
stage: test
@ -28,7 +32,6 @@ danger:
# https://github.com/danger/danger-js/issues/1029#issuecomment-998915436
- export CI_MERGE_REQUEST_IID=${CI_OPEN_MERGE_REQUESTS#*!}
- npx danger ci
cache: []
lint-js:
stage: test