From 0960345f862adf79e6fa7bde6cbf46af7be5af34 Mon Sep 17 00:00:00 2001 From: RubenGeo Date: Tue, 16 Mar 2021 15:35:06 +0100 Subject: [PATCH] feat: test workflow --- .github/workflows/workflow.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 5c4db20bc..3c5f48c07 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -110,13 +110,12 @@ jobs: # docker build . --file Dockerfile --tag # rodekruis/ibf-pipeline:$(date +%s) - cypress-run: needs: detect-changes if: | ${{ needs.detect-changes.outputs.ibf-pipeline == 'true' }} || ${{ needs.detect-changes.outputs.ibf-dashboard == 'true' }} || - ${{ needs.detect-changes.outputs.ibf-api-service == 'true' }} + ${{ needs.detect-changes.outputs.ibf-api-service == 'true' }} runs-on: ubuntu-latest @@ -124,15 +123,15 @@ jobs: run: working-directory: "services/IBF-pipeline" steps: - - name: Checkout - uses: actions/checkout@v2 - # Install NPM dependencies, cache them correctly - # and run all Cypress tests - - name: Cypress run - uses: cypress-io/github-action@v2 - with: - build: npm run build - start: npm start + - name: Checkout + uses: actions/checkout@v2 + # Install NPM dependencies, cache them correctly + # and run all Cypress tests + - name: Cypress run + uses: cypress-io/github-action@v2 + with: + build: npm run build + start: npm start bump-version: needs: [ibf-api-service, ibf-dashboard, ibf-pipeline]