Skip to content

Commit

Permalink
feat(refine-vite): replace preview script with start (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
BatuhanW authored Jul 18, 2024
1 parent 55b4a4d commit 1d9768b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
cd ${{ steps.build_step.outputs.project_path }}
npm install
npm run build
npm run preview -- --port 3000 --host &
npm run start -- --port 3000 --host &
- name: Run Cypress on local
uses: cypress-io/github-action@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-remote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
cd ${{ steps.download_step.outputs.project_path }}
npm install
npm run build
npm run preview -- --port 3000 --host &
npm run start -- --port 3000 --host &
- name: Run Cypress on local
uses: cypress-io/github-action@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion refine-vite/template/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"scripts": {
"dev": "refine dev",
"build": "tsc && refine build",
"preview": "refine start",
"start": "refine start",
"refine": "refine"
},
"browserslist": {
Expand Down

0 comments on commit 1d9768b

Please sign in to comment.