From f6a69f1f2dd4d7deebb1e8128f64c837c4e47b7a Mon Sep 17 00:00:00 2001 From: Reid Hewitt Date: Mon, 22 Apr 2024 20:36:44 -0600 Subject: [PATCH] update --- .github/workflows/deploy.yml | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 62e6717..850c020 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,28 +8,19 @@ on: jobs: test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: 'Checkout' uses: actions/checkout@v4 - - name: Run App - run: docker compose up -d - - name: 'Cypress run' - uses: cypress-io/github-action@v5 - build: - runs-on: ubuntu-22.04 - needs: test - steps: - - name: 'Checkout' - uses: actions/checkout@v4 - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "20" - - name: Install Dependencies - run: npm i - - name: Build App - run: npm run build + + - name: Cypress Run + uses: cypress-io/github-action@v6 + with: + project: . + browser: chrome + build: npm run build + start: npm run dev + wait-on: "http://localhost:3000" # deploy: # runs-on: ubuntu-22.04 # needs: build