diff --git a/.changeset/lazy-actors-enjoy.md b/.changeset/lazy-actors-enjoy.md new file mode 100644 index 0000000000..6f73247acc --- /dev/null +++ b/.changeset/lazy-actors-enjoy.md @@ -0,0 +1,5 @@ +--- +"saleor-dashboard": patch +--- + +Now CI workflows use updated action to upload and download artifacts diff --git a/.github/actions/combineReportsFromE2E/action.yml b/.github/actions/combineReportsFromE2E/action.yml index b90d141086..0030faa748 100644 --- a/.github/actions/combineReportsFromE2E/action.yml +++ b/.github/actions/combineReportsFromE2E/action.yml @@ -26,7 +26,7 @@ runs: shell: bash working-directory: .github/workflows - name: Download reports artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: ./cypress/reports - name: Create reports dir diff --git a/.github/actions/testmo/testmo-threads-submit/action.yml b/.github/actions/testmo/testmo-threads-submit/action.yml index 140505b95d..0a8e68e439 100644 --- a/.github/actions/testmo/testmo-threads-submit/action.yml +++ b/.github/actions/testmo/testmo-threads-submit/action.yml @@ -50,27 +50,4 @@ runs: TESTMO_URL: ${{ inputs.testmoUrl }} TESTMO_TOKEN: ${{ inputs.testmoToken }} TESTMO_RUN_ID: ${{ inputs.testmoRunId}} - - name: Download reports artifacts - uses: actions/download-artifact@v3 - with: - path: ./cypress/reports - - name: Create reports dir - continue-on-error: true - shell: bash - run: npm run qa:create-artifacts-dirs - - name: Merge report files - continue-on-error: true - shell: bash - run: npm run qa:generate-html-report - - name: Move artifacts screenshots into reports dir - continue-on-error: true - shell: bash - run: npm run qa:artifact-move-screenshots - - name: Upload reports - uses: actions/upload-artifact@v4 - if: always() - with: - name: combined-report - path: ./cypress/reports - retention-days: 5 - if-no-files-found: ignore + diff --git a/.github/workflows/pr-automation.yml b/.github/workflows/pr-automation.yml index 34de96d57d..674a9a58c7 100644 --- a/.github/workflows/pr-automation.yml +++ b/.github/workflows/pr-automation.yml @@ -321,7 +321,7 @@ jobs: run: npm ci - name: Download blob reports from GitHub Actions Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: all-blob-reports path: all-blob-reports diff --git a/.github/workflows/run-test-manual.yml b/.github/workflows/run-test-manual.yml index 067378ecdc..84ba7d2b63 100644 --- a/.github/workflows/run-test-manual.yml +++ b/.github/workflows/run-test-manual.yml @@ -41,7 +41,6 @@ jobs: VERSION_SLUG=$(echo "${CURRENT_BRANCH}" | sed "s/\.//") echo "BASE_URL=https://v${VERSION_SLUG}.staging.saleor.cloud/dashboard/" >> $GITHUB_OUTPUT echo "API_URL=https://v${VERSION_SLUG}.staging.saleor.cloud/graphql/" >> $GITHUB_OUTPUT - - uses: ./.github/actions/testmo/testmo-init with: