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 image: node:16.14.2-slim
include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
stages: stages:
- build - build
- 🧪 test - 🧪 test
...@@ -13,14 +16,8 @@ variables: ...@@ -13,14 +16,8 @@ variables:
tags: tags:
- cache - cache
cache: cache:
key:
files:
- package-lock.json
paths: paths:
- node_modules/ - node_modules/
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_MERGE_REQUEST_IID
.cache-push: .cache-push:
extends: .cache extends: .cache
...@@ -37,9 +34,6 @@ install_dependencies: ...@@ -37,9 +34,6 @@ install_dependencies:
stage: build stage: build
script: script:
- npm ci - npm ci
rules:
- changes:
- package-lock.json
lint: lint:
extends: .cache-pull 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