Skip to content
Snippets Groups Projects
Commit 5a59c720 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

CI: cache yarn packages

parent 3c11ec27
No related branches found
No related tags found
No related merge requests found
Pipeline #12402 passed
image: registry.gitlab.tugraz.at/dbp/web-components/toolkit/main:v1 image: registry.gitlab.tugraz.at/dbp/web-components/toolkit/main:v1
cache:
key: ${CI_PROJECT_PATH}
paths:
- _yarn_cache
stages: stages:
- test - test
test: test:
stage: test stage: test
script: script:
- yarn config set cache-folder "$CI_PROJECT_DIR/_yarn_cache"
- yarn install - yarn install
- yarn run test - yarn run test
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