Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit ce2cebb

Browse files
committed
build: refactor build configuration
1 parent f8e014a commit ce2cebb

File tree

3 files changed

+6449
-14627
lines changed

3 files changed

+6449
-14627
lines changed

.github/workflows/quality.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,12 @@ jobs:
2727
run: pnpm lint
2828

2929
- name: Run Component Tests
30-
run: pnpm test:ci
30+
run:
31+
pnpm test:ci && pnpm cy:run --component --record --key ${{
32+
secrets.$CYPRESS_COMPONENT_TESTING_KEY }}
3133
env:
34+
CYPRESS_COMPONENT_TESTING_KEY:
35+
${{ secrets.CYPRESS_COMPONENT_TESTING_KEY }}
3236
CI: true
3337

3438
- name: Build packages

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"cy:run": "cypress run --component --quiet",
3232
"test:component": "pnpm cy:run",
3333
"test": "jest && pnpm cy:run",
34-
"test:silent": "cross-env NODE_ENV=test jest --verbose --silent --config jest.config.js && pnpm cy:run",
34+
"test:silent": "cross-env NODE_ENV=test jest --verbose --silent --config jest.config.js",
3535
"test:ci": "pnpm build:fast && pnpm test:silent",
3636
"test:unit": "cross-env NODE_ENV=test jest --config jest.config.js",
3737
"test:nuxt": "cross-env NODE_ENV=test pnpm pkg @chakra-ui/nuxt-next test",

0 commit comments

Comments
 (0)