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",