Skip to content
Snippets Groups Projects
Commit 5476c9bc authored by Lopez de Guereña Caballero, Jon's avatar Lopez de Guereña Caballero, Jon
Browse files

added npm files

parent d18f31a5
No related branches found
No related tags found
No related merge requests found
# Ci Files # ci-files
CI files repository
npm packages:
create gitlab-ci.yml with:
```yaml
- include:
- remote: 'https://gitlab.com/example-project/-/raw/master/.gitlab-ci.yml'
```
\ No newline at end of file
image: node:12
before_script:
- npm -g config set user root
- npm install -g jfrog-cli-go
cache:
paths:
- node_modules/
job:
tags:
- docker
script:
- jfrog rt c import $ARTIFACTORY_CI_CONFIGURATION
- jfrog rt use TRIArtifact
- jfrog rt ping
- jfrog rt npm-install --build-name=$CI_PROJECT_NAME --build-number=$CI_JOB_ID
- npm run test
- jfrog rt npm-publish --build-name=$CI_PROJECT_NAME --build-number=$CI_JOB_ID
- jfrog rt bce $CI_PROJECT_NAME $CI_JOB_ID
- jfrog rt bp $CI_PROJECT_NAME $CI_JOB_ID
only:
- tags
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment