From 513a56952cccfe9c681638efb746840c56acab16 Mon Sep 17 00:00:00 2001 From: cksrb63 Date: Sat, 2 Mar 2024 15:03:31 +0900 Subject: [PATCH] Fix: cypress.yml --- .github/workflows/cypress.yml | 3 --- cypress.config.ts | 5 +++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index b472abc0..6b36c4f1 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -18,9 +18,6 @@ jobs: run: pnpm install --frozen-lockfile - name: Cypress run uses: cypress-io/github-action@v6 - with: - build: pnpm run build - start: pnpm run dev env: id: ${{ secrets.TESTING_ID }} pw: ${{ secrets.TESTING_PW }} diff --git a/cypress.config.ts b/cypress.config.ts index 5a3bd6e3..d6041285 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -1,10 +1,11 @@ -import { defineConfig } from "cypress"; +import { defineConfig } from 'cypress'; export default defineConfig({ viewportWidth: 1920, viewportHeight: 1080, + e2e: { - setupNodeEvents(on, config) { + setupNodeEvents(_, __) { // implement node event listeners here }, },