Skip to content

Commit 6ca3dfd

Browse files
committed
chore: add test execution to CI pipeline
1 parent 1b62832 commit 6ca3dfd

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.vtex/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
pipelines:
77
- name: node-ci-v2
88
parameters:
9+
nodeCommands:
10+
- install
11+
- test:coverage
912
sonarProjectName: pickup-points-modal
1013
nodeVersion: 20-bookworm
1114
runtime:

react/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"removeMocks": "rm -rf lib/**/__mocks__ && rm -rf lib/__mocks__ && rm -rf dist",
1212
"addLocales": "cp -R -f react/locales/ lib/locales/",
1313
"postreleasy": "npm publish --access public",
14-
"test": "vtex-test-tools test"
14+
"test": "vtex-test-tools test",
15+
"test:coverage": "vtex-test-tools test --coverage"
1516
},
1617
"keywords": [
1718
"react-component",

0 commit comments

Comments
 (0)