chore: Update test command in CI
parent
ae0d5b18a4
commit
5d2f8b6c09
|
@ -46,7 +46,7 @@ jobs:
|
||||||
- name: Build playground
|
- name: Build playground
|
||||||
run: yarn playground:build
|
run: yarn playground:build
|
||||||
- name: Run test
|
- name: Run test
|
||||||
run: cd playground && jest --verbose
|
run: yarn run -s test:integration
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
uses: codecov/codecov-action@v2
|
uses: codecov/codecov-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
"eslint": "eslint --max-warnings=0 './**/*.{js,jsx}'",
|
"eslint": "eslint --max-warnings=0 './**/*.{js,jsx}'",
|
||||||
"eslint:fix": "eslint --fix './**/*.{js,jsx}'",
|
"eslint:fix": "eslint --fix './**/*.{js,jsx}'",
|
||||||
"test:unit": "jest --verbose",
|
"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",
|
"plugin:install": "yarn install && rm -rf node_modules/@strapi/helper-plugin",
|
||||||
"playground:install": "cd playground && yarn install",
|
"playground:install": "cd playground && yarn install",
|
||||||
"playground:build": "cd playground && yarn build",
|
"playground:build": "cd playground && yarn build",
|
||||||
|
|
Loading…
Reference in New Issue