diff --git a/.github/workflows/deploy-action.yml b/.github/workflows/deploy-action.yml index f72bf952c1..7e7adbb69d 100644 --- a/.github/workflows/deploy-action.yml +++ b/.github/workflows/deploy-action.yml @@ -82,10 +82,9 @@ jobs: - name: print imagetags run: echo ${{ needs.read-version.outputs.okr-docker-image}} - e2e-docker: runs-on: ubuntu-24.04 - needs: [build-docker-image, read-version, get-e2e-files] + needs: [build-docker-image, read-version,get-e2e-files] strategy: fail-fast: false matrix: @@ -111,6 +110,11 @@ jobs: -e SPRING_PROFILES_ACTIVE=integration-test \ ${{ needs.read-version.outputs.okr-docker-image}} & + - name: set node version + uses: actions/setup-node@v4 + with: + node-version: ${{vars.NODE_VERSION}} + - name: Cypress run e2e tests uses: cypress-io/github-action@v6 with: diff --git a/.github/workflows/staging-deploy-action.yml b/.github/workflows/staging-deploy-action.yml index 3b777d3725..d63e2162b3 100644 --- a/.github/workflows/staging-deploy-action.yml +++ b/.github/workflows/staging-deploy-action.yml @@ -71,7 +71,7 @@ jobs: java-version: ${{vars.JAVA_VERSION}} distribution: 'adopt' - - name: Set up node + - name: Set up node ${{vars.NODE_VERSION}} uses: actions/setup-node@v4 with: node-version: ${{vars.NODE_VERSION}} @@ -136,7 +136,7 @@ jobs: ${{ needs.update-version.outputs.okr-docker-image}} & - name: set node version - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{vars.NODE_VERSION}} @@ -153,18 +153,18 @@ jobs: config: baseUrl=http://pitc.okr.localhost:8080 spec: cypress/e2e/${{ matrix.file }} - - uses: actions/upload-artifact@v4 if: always() with: - name: cypress-screenshots ${{ matrix.file }} + name: cypress-screenshots for ${{ matrix.file }} path: frontend/cypress/screenshots upload-to-quay: runs-on: ubuntu-latest needs: [update-version, e2e-docker] #[e2e-docker, update-version] steps: - - uses: actions/checkout@v4 + - name: Checkout project + uses: actions/checkout@v4 - name: Download artifact uses: actions/download-artifact@v4