Skip to content
Snippets Groups Projects
Commit 3ea9a465 authored by Paolo.Brasolin's avatar Paolo.Brasolin
Browse files

ci: sketch #fe node cache job

parent 8ff10fbe
No related branches found
No related tags found
No related merge requests found
Pipeline #23198 passed
...@@ -3,9 +3,30 @@ variables: ...@@ -3,9 +3,30 @@ variables:
DOCKER_IMAGE: "docker:20.10.12" DOCKER_IMAGE: "docker:20.10.12"
stages: stages:
- setup
- build - build
- deploy - deploy
#==[ Prepare node ]=============================================================
fe-cache-node-job:
image: node:16-alpine
stage: setup
tags:
- commul
cache:
key:
files:
- frontend/package-lock.json
paths:
- frontend/.npm/
script:
- cd frontend
- npm ci --cache .npm --prefer-offline
only:
- tags
- development
#==[ Backend build ]============================================================ #==[ Backend build ]============================================================
# TODO: cache docker layers # TODO: cache docker layers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment