From d1553826f03a246cf34d3119e029a39f3826fdd9 Mon Sep 17 00:00:00 2001 From: Jimuel Renzo Medrano <42688255+jimuelmedrano@users.noreply.github.com> Date: Wed, 20 Sep 2023 16:10:52 +0800 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..39ae60e --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +name: Letcode Cypress Regression + +on: + push: + branches: [ "main" ] + workflow_dispatch: + +jobs: + build: + environment: main + runs-on: ubuntu-latest + + chrome: + runs-on: ubuntu-22.04 + name: E2E on Chrome + steps: + - uses: actions/checkout@v3 + - uses: cypress-io/github-action@v5 + with: + browser: chrome