Mise à jour effectuée, merci de nous signaler tout dysfonctionnement ! | Upgrade done, please let us know about any dysfunction!

Commit 8912fa41 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[enh] ci: caching of the node_modules/ and transpiled files + make `test`...

[enh] ci: caching of the node_modules/ and transpiled files + make `test` phase occur before `pages`
parent d7ca4df0
stages:
- github-sync
- build
- pages
- test
- pages
- package
- prerelease
- release
......@@ -37,6 +37,10 @@ push_to_github:
build:
<<: *nvm_env
stage: build
cache:
untracked: true
paths:
- node_modules/
script:
- yarn
......@@ -61,8 +65,11 @@ pages:
test:
<<: *nvm_env
stage: test
cache:
untracked: true
paths:
- node_modules/
script:
- yarn
- yarn test
# Clean the dump directory before testing
- rm -rf /tmp/duniter_ci_dump/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment