Skip to content

Commit

Permalink
ci: fetch and prune tags before install
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecasar committed Jan 12, 2024
1 parent 767cfbf commit 4bc8329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ install:
before_script:
- npm config set -- //$CI_SERVER_HOST/api/v4/packages/npm/:_authToken=$CI_JOB_TOKEN
- npm config set @os3:registry https://$CI_SERVER_HOST/api/v4/packages/npm/
- git fetch --tags --force
- git fetch --prune --prune-tags --tags --force
script:
- npm ci --cache .npm --ignore-scripts --prefer-offline

Expand Down

0 comments on commit 4bc8329

Please sign in to comment.