From ef50b28f2c729a59d82161b9a334f11bea28aa54 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 12 Apr 2022 20:06:44 +0530 Subject: [PATCH] chore(action): run screenshot step even if previous step failed Signed-off-by: Pranav C --- .github/workflows/ci-cd.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index b0bcbf5196..2d7cbace95 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -58,6 +58,7 @@ jobs: wait-on-timeout: 1200 config-file: scripts/cypress/cypress.json - name: Upload screenshots + if: always() uses: actions/upload-artifact@v2 with: name: restTableOps-snapshots @@ -102,6 +103,7 @@ jobs: wait-on-timeout: 1200 config-file: scripts/cypress/cypress.json - name: Upload screenshots + if: always() uses: actions/upload-artifact@v2 with: name: restTableOps-snapshots @@ -146,6 +148,7 @@ jobs: wait-on-timeout: 1200 config-file: scripts/cypress/cypress.json - name: Upload screenshots + if: always() uses: actions/upload-artifact@v2 with: name: restTableOps-snapshots @@ -190,6 +193,7 @@ jobs: wait-on-timeout: 1200 config-file: scripts/cypress/cypress.json - name: Upload screenshots + if: always() uses: actions/upload-artifact@v2 with: name: restTableOps-snapshots @@ -225,7 +229,7 @@ jobs: uses: cypress-io/github-action@v2 with: start: | - npm run build:common + npm run build:common npm run start:api:cache npm run start:web docker-compose -f ./scripts/docker-compose-cypress.yml up -d @@ -234,6 +238,7 @@ jobs: wait-on-timeout: 1200 config-file: scripts/cypress/cypress.json - name: Upload screenshots + if: always() uses: actions/upload-artifact@v2 with: name: restTableOps-snapshots @@ -278,6 +283,7 @@ jobs: wait-on-timeout: 1200 config-file: scripts/cypress/cypress.json - name: Upload screenshots + if: always() uses: actions/upload-artifact@v2 with: name: restTableOps-snapshots @@ -322,6 +328,7 @@ jobs: wait-on-timeout: 1200 config-file: scripts/cypress/cypress.json - name: Upload screenshots + if: always() uses: actions/upload-artifact@v2 with: name: restTableOps-snapshots @@ -366,6 +373,7 @@ jobs: wait-on-timeout: 1200 config-file: scripts/cypress/cypress.json - name: Upload screenshots + if: always() uses: actions/upload-artifact@v2 with: name: restTableOps-snapshots @@ -410,6 +418,7 @@ jobs: wait-on-timeout: 1200 config-file: scripts/cypress/cypress.json - name: Upload screenshots + if: always() uses: actions/upload-artifact@v2 with: name: restTableOps-snapshots @@ -454,6 +463,7 @@ jobs: wait-on-timeout: 1200 config-file: scripts/cypress/cypress.json - name: Upload screenshots + if: always() uses: actions/upload-artifact@v2 with: name: restTableOps-snapshots @@ -498,6 +508,7 @@ jobs: wait-on-timeout: 1200 config-file: scripts/cypress/cypress.json - name: Upload screenshots + if: always() uses: actions/upload-artifact@v2 with: name: restTableOps-snapshots @@ -542,6 +553,7 @@ jobs: wait-on-timeout: 1200 config-file: scripts/cypress/cypress.json - name: Upload screenshots + if: always() uses: actions/upload-artifact@v2 with: name: restTableOps-snapshots