From 6875867000e2d3dee3aef5cb7b04a6147e33c43b Mon Sep 17 00:00:00 2001 From: Ghislain B Date: Fri, 10 Nov 2023 16:18:03 -0500 Subject: [PATCH 1/2] chore(ci): update a few GitHub Actions deps --- .github/workflows/main.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e0fb2288..c38981f2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -57,13 +57,11 @@ jobs: run: yarn build:demo - name: Run Cypress E2E tests - uses: cypress-io/github-action@v5 + uses: cypress-io/github-action@v6 with: - install: false - # working-directory: packages/dnd - start: yarn serve:demo - wait-on: 'http://localhost:8080' - config-file: test/cypress.config.ts + working-directory: test/cypress + config-file: cypress.config.ts + wait-on: 'http://localhost:4300' browser: chrome record: false env: @@ -71,13 +69,6 @@ jobs: CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} # pass GitHub token to allow accurately detecting a build vs a re-run build GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - Cypress_extended: true - - - uses: actions/upload-artifact@v3 - if: failure() - with: - name: cypress-screenshots - path: test/cypress/screenshots # deploy (re-publish) GitHub demo page with a Prod build but only when merging to "master" branch # and the commit message contains the text "chore: release" From 024a95b19384b3c71b5cda253e4196e54394a3cc Mon Sep 17 00:00:00 2001 From: Ghislain B Date: Fri, 10 Nov 2023 16:29:05 -0500 Subject: [PATCH 2/2] chore: fix failing CI workflow --- .github/workflows/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c38981f2..d2a9150c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,9 +59,11 @@ jobs: - name: Run Cypress E2E tests uses: cypress-io/github-action@v6 with: - working-directory: test/cypress - config-file: cypress.config.ts - wait-on: 'http://localhost:4300' + install: false + # working-directory: packages/dnd + start: yarn serve:demo + wait-on: 'http://localhost:8080' + config-file: test/cypress.config.ts browser: chrome record: false env: