From b6bbdacecf7c8bcc75d449209a0d2d6e524bcf70 Mon Sep 17 00:00:00 2001 From: Faris Ashai Date: Sat, 6 Jan 2024 23:22:57 -0800 Subject: [PATCH] modify run command --- .github/workflows/cypress.yml | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 0fca2e69..f5987efb 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -13,6 +13,6 @@ jobs: env: NEXT_PUBLIC_ACM_API_URL: https://testing.api.acmucsd.com/api/v2 with: - start: yarn dev + start: yarn dev:start wait-on: 'http://localhost:3000' install-command: yarn install diff --git a/package.json b/package.json index c17e7f92..8d8409f2 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ "lint": "yarn lint:js && yarn lint:css", "lint:fix": "yarn prettier && eslint --fix \"src/**/*.+(js|jsx|ts|tsx)\" && stylelint --fix \"**/*.scss\"", "type-css": "yarn typed-scss-modules src/ --exportType default --logLevel silent --watch", - "dev": "next dev", - "run": "yarn type-css & yarn lint && next dev", + "dev": "yarn type-css & yarn lint && next dev", + "dev:start": "next dev", "build": "next build", "start": "next start", "prod": "next build && next start",