Skip to content

Commit 87bdb84

Browse files
committed
chore: add SonarQube scan pipeline
1 parent bf95f4c commit 87bdb84

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

.vtex/deployment.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
- name: cli-plugin-template
2+
referenceId: PLACEHOLDER
23
build:
34
provider: dkcicd
45
pipelines:
@@ -13,4 +14,18 @@
1314
path:
1415
- "docs/**"
1516
- README.md
16-
- .vtex/deployment.yaml
17+
- .vtex/deployment.yaml
18+
- name: node-ci-v2
19+
parameters:
20+
sonarProjectName: cli-plugin-template
21+
nodeVersion: 20-bookworm
22+
nodeCommands:
23+
- test -- --passWithNoTests --coverage
24+
runtime:
25+
architecture: amd64
26+
when:
27+
- event: pull_request
28+
source: branch
29+
- event: push
30+
source: branch
31+
regex: master

0 commit comments

Comments
 (0)