Change test script to be "test" instead "test:ci" so all tests are executed properly (#437)
This commit is contained in:
parent
b4ddb02efb
commit
842b7b9cdb
4 changed files with 3 additions and 6 deletions
2
.github/workflows/unit-tests.yml
vendored
2
.github/workflows/unit-tests.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
|||
- name: Generate schema
|
||||
run: pnpm generate
|
||||
- name: Test
|
||||
run: pnpm test:ci
|
||||
run: pnpm test
|
||||
# TODO: Add coverage - crawl through every package
|
||||
# - name: Generate coverage report
|
||||
# uses: irongut/CodeCoverageSummary@v1.3.0
|
||||
|
|
|
@ -10,8 +10,7 @@
|
|||
"lint:fix": "eslint --fix .",
|
||||
"fetch-schema": "curl https://raw.githubusercontent.com/saleor/saleor/${npm_package_saleor_schemaVersion}/saleor/graphql/schema.graphql > graphql/schema.graphql",
|
||||
"generate": "graphql-codegen",
|
||||
"test": "vitest",
|
||||
"test:ci": "CI=true vitest --coverage"
|
||||
"test": "vitest"
|
||||
},
|
||||
"saleor": {
|
||||
"schemaVersion": "3.10"
|
||||
|
|
|
@ -10,8 +10,7 @@
|
|||
"lint:fix": "eslint --fix .",
|
||||
"fetch-schema": "curl https://raw.githubusercontent.com/saleor/saleor/${npm_package_saleor_schemaVersion}/saleor/graphql/schema.graphql > graphql/schema.graphql",
|
||||
"generate": "graphql-codegen",
|
||||
"test": "vitest",
|
||||
"test:ci": "CI=true vitest --coverage"
|
||||
"test": "vitest"
|
||||
},
|
||||
"saleor": {
|
||||
"schemaVersion": "3.10"
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
"lint": "turbo run lint",
|
||||
"start": "turbo run start",
|
||||
"test": "turbo run test",
|
||||
"test:ci": "turbo run test:ci",
|
||||
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
|
||||
"generate": "turbo run generate",
|
||||
"prepare": "husky install"
|
||||
|
|
Loading…
Reference in a new issue