Skip to content
Snippets Groups Projects
Commit e9afac8e authored by Eskudero Gurrutxaga, Ibon's avatar Eskudero Gurrutxaga, Ibon
Browse files

cache files

parent 9d24793a
Branches
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ cache:
paths:
- dist/
- root/.jfrog/
- root/.npm/
- .npm/
- usr/local/lib/node_modules/
build:
stage: build
......@@ -13,12 +13,10 @@ build:
- docker
image: $ACR_URL/node:18.12.0
script:
# enable caching
- npm ci --cache .npm --prefer-offline
#set root user
- npm -g config set user root
# install jfrog cli
- npm install -g jfrog-cli-go
# install jfrog cli. Use cache on .npm folder
- npm install -g jfrog-cli-go --cache .npm --prefer-offline
# load artifactory config from base64 encoded string
- jfrog config import $ARTIFACTORY_CI_CONFIGURATION
# set server id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment