Skip to content
Snippets Groups Projects

ci(Caching): Cache gradle and node dependencies to improve build and test speeds

Merged Griefed requested to merge cache into beta
3 files
+ 13
1
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 11
0
@@ -14,6 +14,7 @@ variables:
SCAN_KUBERNETES_MANIFESTS: "false"
SECRETS_ANALYZER_VERSION: "3"
SECRET_DETECTION_EXCLUDED_PATHS: ""
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
services:
- name: ghcr.io/griefed/gitlab-ci-cd:2.0.9
@@ -27,6 +28,16 @@ workflow:
when: never
- when: always
before_script:
- GRADLE_USER_HOME="$(pwd)/.gradle"
- export GRADLE_USER_HOME
cache:
paths:
- frontend/node_modules/
- build
- .gradle
sast:
stage: Tests
artifacts:
Loading