Skip to content
Extraits de code Groupes Projets
Valider 0e02284f rédigé par Maverick Chardet's avatar Maverick Chardet
Parcourir les fichiers

NPM change

parent def80c49
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Pipeline #31862 réussi
...@@ -7,7 +7,7 @@ build: ...@@ -7,7 +7,7 @@ build:
- if: $CI_COMMIT_TAG == null - if: $CI_COMMIT_TAG == null
image: node:16 image: node:16
script: script:
- npm config set "//gitlab.in.ac-paris.fr/:_authToken" "$CI_JOB_TOKEN" - npm config set "//registry.npmjs.org/:_authToken" "$NPM_TOKEN"
- npm install - npm install
- npm run build - npm run build
deploy: deploy:
...@@ -16,8 +16,7 @@ deploy: ...@@ -16,8 +16,7 @@ deploy:
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
image: node:16 image: node:16
script: script:
- npm config set "//gitlab.in.ac-paris.fr/:_authToken" "$CI_JOB_TOKEN" - npm config set "//registry.npmjs.org/:_authToken" "$NPM_TOKEN"
- npm install - npm install
- npm run build - npm run build
- npm config set "//gitlab.in.ac-paris.fr/api/v4/projects/103/packages/npm/:_authToken" "$CI_JOB_TOKEN"
- npm publish - npm publish
...@@ -16,9 +16,6 @@ ...@@ -16,9 +16,6 @@
"dist", "dist",
"src" "src"
], ],
"publishConfig": {
"@capytale:registry": "https://gitlab.in.ac-paris.fr/api/v4/projects/103/packages/npm/"
},
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "tsc && vite build", "build": "tsc && vite build",
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter