From 6ca3dfd7fa501fbf0269a1786d423ed7edb20574 Mon Sep 17 00:00:00 2001 From: Guilherme Carvalho <77246+gvc@users.noreply.github.com> Date: Mon, 4 May 2026 17:48:38 -0300 Subject: [PATCH] chore: add test execution to CI pipeline --- .vtex/deployment.yaml | 3 +++ react/package.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.vtex/deployment.yaml b/.vtex/deployment.yaml index 03a15ff..9c0928a 100644 --- a/.vtex/deployment.yaml +++ b/.vtex/deployment.yaml @@ -6,6 +6,9 @@ pipelines: - name: node-ci-v2 parameters: + nodeCommands: + - install + - test:coverage sonarProjectName: pickup-points-modal nodeVersion: 20-bookworm runtime: diff --git a/react/package.json b/react/package.json index 3f102fa..7110eac 100644 --- a/react/package.json +++ b/react/package.json @@ -11,7 +11,8 @@ "removeMocks": "rm -rf lib/**/__mocks__ && rm -rf lib/__mocks__ && rm -rf dist", "addLocales": "cp -R -f react/locales/ lib/locales/", "postreleasy": "npm publish --access public", - "test": "vtex-test-tools test" + "test": "vtex-test-tools test", + "test:coverage": "vtex-test-tools test --coverage" }, "keywords": [ "react-component",