From 54f4c74f02bce7565516d66062d103de33f4919a Mon Sep 17 00:00:00 2001 From: Ludovic Le Frioux <ludovic.le-frioux@inria.fr> Date: Tue, 1 Dec 2020 18:54:44 +0100 Subject: [PATCH] Add read registry token to CI --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 963b8d0..05a0161 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 -- GitLab