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

ci: test #fe node cache

parent 3ea9a465
No related branches found
No related tags found
No related merge requests found
Pipeline #23199 passed
...@@ -4,6 +4,7 @@ variables: ...@@ -4,6 +4,7 @@ variables:
stages: stages:
- setup - setup
- check
- build - build
- deploy - deploy
...@@ -27,6 +28,29 @@ fe-cache-node-job: ...@@ -27,6 +28,29 @@ fe-cache-node-job:
- tags - tags
- development - development
#==[ Frontend checks ]==========================================================
fe-check-node-job:
needs:
- fe-cache-node-job
image: node:16-alpine
stage: check
tags:
- commul
cache:
key:
files:
- frontend/package-lock.json
paths:
- frontend/.npm/
script:
- cd frontend
- npm ci --cache .npm --prefer-offline
- npm run test
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