From 5d2f8b6c09c234b9e9ab43eddd0fb790a5058f84 Mon Sep 17 00:00:00 2001 From: boazpoolman Date: Fri, 30 Dec 2022 14:25:20 +0100 Subject: [PATCH] chore: Update test command in CI --- .github/workflows/tests.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 86eca89..7aae7dd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -46,7 +46,7 @@ jobs: - name: Build playground run: yarn playground:build - name: Run test - run: cd playground && jest --verbose + run: yarn run -s test:integration - name: Upload coverage to Codecov uses: codecov/codecov-action@v2 with: diff --git a/package.json b/package.json index d599c0b..3f8cb77 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "eslint": "eslint --max-warnings=0 './**/*.{js,jsx}'", "eslint:fix": "eslint --fix './**/*.{js,jsx}'", "test:unit": "jest --verbose", - "test:integration": "cd playground && jest --verbose", + "test:integration": "cd playground && node_modules/.bin/jest --verbose", "plugin:install": "yarn install && rm -rf node_modules/@strapi/helper-plugin", "playground:install": "cd playground && yarn install", "playground:build": "cd playground && yarn build",