diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 963b8d0fb5428fc1c46fc4d0adb9935388a82dc2..05a01614ca1be0be9eac4e83571a88f7757a55c0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: node:latest +image: node:14.15.1 cache: key: ${CI_COMMIT_REF_SLUG} @@ -18,6 +18,9 @@ test: - couchdb:latest before_script: + - npm config set @concordant:registry "https://gitlab.inria.fr/api/v4/packages/npm/" + - npm config set '//gitlab.inria.fr/api/v4/packages/npm/:_authToken' "${CI_JOB_TOKEN}" + - npm install - npm ci --cache .npm --prefer-offline - curl -u "$COUCHDB_USER:$COUCHDB_PASSWORD" -X PUT $COUCHDB_URL/_users