Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
metrics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libs
metrics
Commits
88fb5749
Commit
88fb5749
authored
1 year ago
by
Sigmund, Dominik
Browse files
Options
Downloads
Patches
Plain Diff
Update file .gitlab-ci.yml
parent
2208db63
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#32622
failed
1 year ago
Stage: build
Stage: publish
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+10
-22
10 additions, 22 deletions
.gitlab-ci.yml
with
10 additions
and
22 deletions
.gitlab-ci.yml
+
10
−
22
View file @
88fb5749
image
:
node:latest
include
:
-
project
:
'
general/templates'
file
:
'
/cicd/SAST-nodejs.gitlab-ci.yml'
-
project
:
'
general/templates'
file
:
'
/cicd/npm-audit.gitlab-ci.yml'
-
project
:
'
general/templates'
file
:
'
/cicd/sonarqube.gitlab-ci.yml'
variables
:
SONAR_PROJECT_KEY
:
metrics
SONAR_TOKEN
:
11922a8e774494f51e1d2f0e695949e4073e7df8
cache
:
paths
:
-
node_modules/
...
...
@@ -26,19 +14,19 @@ stages:
build
:
stage
:
build
script
:
-
npm audit
-
npm install --legacy-peer-deps
-
npm run build
test
:
stage
:
test
before_script
:
-
npm install -g jest
script
:
-
jest
artifacts
:
paths
:
-
docs/test-report.html
-
docs/coverage/lcov.info
#test:
# stage: test
# before_script:
# - npm install -g jest
# script:
# - jest
# artifacts:
# paths:
## - docs/coverage/lcov.info
publish
:
stage
:
publish
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment