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

fix

parent 2fd10bcd
Branches
No related tags found
No related merge requests found
......@@ -7,14 +7,12 @@ artifactory:
#needed to restore the artifats from the build stage
dependencies:
- build
# avoid restoring git repository
# avoid restoring git repository. We assume that the build process stores dist, package.json & .npmignore files
variables:
GIT_STRATEGY: none
script:
# connect job from artifactory_connect.yml
- !reference [.connect, script]
# reconnect to artifactory
- jfrog rt ping
#create a publish package
- jfrog rt npm-publish --build-name=$CI_PROJECT_NAME --build-number=$CI_JOB_ID
# save environment variables into thepackage
......
......@@ -6,8 +6,11 @@ build:
image: $ACR_URL/node:18.12.0
# cache build for the next jobs
artifacts:
untracked: true
expire_in: 1 day
paths:
- dist/
- package.json
- .npmignore
script:
# connect job from artifactory_connect.yml
- !reference [.connect, script]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment