Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 54f4c74f authored by Ludovic Le Frioux's avatar Ludovic Le Frioux
Browse files

Add read registry token to CI

parent fbce8203
No related branches found
No related tags found
2 merge requests!48Release v1.1.4,!27Resolve "Add token to the CI"
Pipeline #192378 passed
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
......
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