From 1d9768b7f50a6de43086a4d3632b80af1a18aa0e Mon Sep 17 00:00:00 2001 From: Batuhan Wilhelm Date: Thu, 18 Jul 2024 13:14:43 +0300 Subject: [PATCH] feat(refine-vite): replace preview script with start (#407) --- .github/workflows/test-local.yaml | 2 +- .github/workflows/test-remote.yaml | 2 +- refine-vite/template/_package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-local.yaml b/.github/workflows/test-local.yaml index b001356c..c993ba2c 100644 --- a/.github/workflows/test-local.yaml +++ b/.github/workflows/test-local.yaml @@ -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: diff --git a/.github/workflows/test-remote.yaml b/.github/workflows/test-remote.yaml index b29cbe49..1b8c0db0 100644 --- a/.github/workflows/test-remote.yaml +++ b/.github/workflows/test-remote.yaml @@ -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: diff --git a/refine-vite/template/_package.json b/refine-vite/template/_package.json index cd901141..7a8f8c80 100644 --- a/refine-vite/template/_package.json +++ b/refine-vite/template/_package.json @@ -28,7 +28,7 @@ "scripts": { "dev": "refine dev", "build": "tsc && refine build", - "preview": "refine start", + "start": "refine start", "refine": "refine" }, "browserslist": {