From 32cf0d6bfe7de81d47d25551968d4049f0c27933 Mon Sep 17 00:00:00 2001 From: Sandipan Dey Date: Wed, 18 Dec 2024 01:11:07 +0530 Subject: [PATCH] ci: updates --- .github/workflows/cypress.yml | 2 ++ Makefile | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index d33da023f..195909515 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -1,6 +1,8 @@ name: frontend e2e tests on: + pull_request: + branches: [main] workflow_dispatch: jobs: diff --git a/Makefile b/Makefile index fb900c59f..19e9702b7 100644 --- a/Makefile +++ b/Makefile @@ -112,7 +112,7 @@ build-storybook-admin-panel: cd apps/admin-panel && pnpm install --frozen-lockfile && pnpm run build-storybook build-frontend: - cd apps/admin-panel && pnpm install --frozen-lockfile && pnpm build + cd apps/admin-panel && pnpm install --frozen-lockfile # add https://xxx.ngrok-free.app/sumsub/callback to test integration with sumsub ngrok: @@ -122,7 +122,7 @@ tilt-in-ci: ./dev/bin/tilt-ci.sh test-cypress-in-ci-through-browserstack: - cd apps/admin-panel && pnpm run cypress:run:browserstack + cd apps/admin-panel && pnpm run cypress:run browserstack push-dataform-branch: git push -f origin HEAD:${DATAFORM_BRANCH}