Skip to content

Commit 0af29ed

Browse files
committed
fix(ci): update component test
1 parent 823a8f7 commit 0af29ed

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,11 @@ jobs:
139139
restore-keys: |
140140
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
141141
142-
- name: Install dependencies
143-
run: npm install --legacy-peer-deps
144-
145142
- name: Test components
146143
uses: cypress-io/github-action@v6
147144
with:
148145
component: true
146+
install-command: npm install --legacy-peer-deps
149147
command: npm run component:headless
150148
browser: ${{ matrix.browser }}
151149
parallel: true

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"component:headless": "cypress run --component",
1717
"fmt": "prettier --write \"**/*.{ts,tsx,mdx,json}\" --cache",
1818
"test": "jest --coverage",
19-
"jest": "jest --coverage",
20-
"preinstall": "npx npm-force-resolutions"
19+
"jest": "jest --coverage"
2120
},
2221
"dependencies": {
2322
"@clickhouse/client": "^0.3.0",

0 commit comments

Comments
 (0)