Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 2fde44ce authored by Christophe Chaudier's avatar Christophe Chaudier :rocket:
Browse files

Merge branch '120-fix-cache-and-ci' into 'master'

Resolve "fix: cache and CI"

Closes #120

See merge request !99
parents d43665f5 a9576897
No related branches found
No related tags found
1 merge request!99Resolve "fix: cache and CI"
Pipeline #11686 passed
image: node:16.14.2-slim
include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
stages:
- build
- 🧪 test
......@@ -13,14 +16,8 @@ variables:
tags:
- cache
cache:
key:
files:
- package-lock.json
paths:
- node_modules/
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_MERGE_REQUEST_IID
.cache-push:
extends: .cache
......@@ -37,9 +34,6 @@ install_dependencies:
stage: build
script:
- npm ci
rules:
- changes:
- package-lock.json
lint:
extends: .cache-pull
......
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