Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
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/
......
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