From eb917aa86fe777623a77d662c01b20d3fc627268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Mar=C4=8Di=C5=A1ovsk=C3=BD?= Date: Mon, 19 Oct 2026 13:42:50 +0200 Subject: [PATCH 1/2] fix: updated github actions --- .github/actions/setup-pnpm/action.yml | 13 ++--------- .github/workflows/auto-pr.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/invalidate-cloudfront.yml | 2 +- .github/workflows/qa.yml | 24 ++++++++++----------- .github/workflows/release.yml | 2 +- 6 files changed, 18 insertions(+), 27 deletions(-) diff --git a/.github/actions/setup-pnpm/action.yml b/.github/actions/setup-pnpm/action.yml index aa00b026..418f2fd9 100644 --- a/.github/actions/setup-pnpm/action.yml +++ b/.github/actions/setup-pnpm/action.yml @@ -1,26 +1,17 @@ name: 'Setup pnpm with cache' description: 'Setup pnpm, configure cache, and setup Node.js' -inputs: - pnpm-version: - description: 'pnpm version to install' - required: false - default: '10.28.1' - runs: using: 'composite' steps: - name: Setup pnpm - uses: pnpm/action-setup@v4 - with: - version: 10.28.1 + uses: pnpm/action-setup@v6.1.0 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7.1.0 with: node-version-file: '.nvmrc' cache: "pnpm" - - name: Install dependencies shell: bash run: pnpm install --frozen-lockfile --prefer-offline \ No newline at end of file diff --git a/.github/workflows/auto-pr.yml b/.github/workflows/auto-pr.yml index 39b8d478..18288eb9 100644 --- a/.github/workflows/auto-pr.yml +++ b/.github/workflows/auto-pr.yml @@ -20,7 +20,7 @@ # runs-on: ubuntu-latest # steps: # - name: Checkout repository -# uses: actions/checkout@v4 +# uses: actions/checkout@v5 # with: # fetch-depth: 0 # token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9af535c6..8fc984e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: timeout-minutes: 10 steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup pnpm with cache uses: ./.github/actions/setup-pnpm diff --git a/.github/workflows/invalidate-cloudfront.yml b/.github/workflows/invalidate-cloudfront.yml index fc9a70f6..378fc2e8 100644 --- a/.github/workflows/invalidate-cloudfront.yml +++ b/.github/workflows/invalidate-cloudfront.yml @@ -36,7 +36,7 @@ jobs: - name: Configure AWS credentials if: steps.config.outputs.enabled == 'true' - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v6.3.0 with: role-to-assume: ${{ env.ROLE_ARN }} aws-region: us-east-1 diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 3c830b35..438a2225 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -58,13 +58,13 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup pnpm with cache uses: ./.github/actions/setup-pnpm - name: Cache Playwright browsers - uses: actions/cache@v4 + uses: actions/cache@v5.1.0 with: path: ~/.cache/ms-playwright key: ${{ runner.os }}-playwright-${{ hashFiles('pnpm-lock.yaml') }} @@ -79,7 +79,7 @@ jobs: BASE_URL: ${{ inputs.base_url }} run: pnpm tests:playwright:e2e:test - - uses: actions/upload-artifact@v4.6.2 + - uses: actions/upload-artifact@v6 if: failure() with: name: playwright-report @@ -87,7 +87,7 @@ jobs: retention-days: 7 if-no-files-found: warn - - uses: actions/upload-artifact@v4.6.2 + - uses: actions/upload-artifact@v6 if: failure() with: name: playwright-traces @@ -103,13 +103,13 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup pnpm with cache uses: ./.github/actions/setup-pnpm - name: Cache Playwright browsers - uses: actions/cache@v4 + uses: actions/cache@v5.1.0 with: path: ~/.cache/ms-playwright key: ${{ runner.os }}-playwright-${{ hashFiles('pnpm-lock.yaml') }} @@ -129,7 +129,7 @@ jobs: run: | tar -czf axe-reports-${{ github.run_id }}.tgz -C qa/tests/playwright/axe/reports . - - uses: actions/upload-artifact@v4.6.2 + - uses: actions/upload-artifact@v6 if: failure() with: name: axe-report @@ -145,13 +145,13 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup pnpm with cache uses: ./.github/actions/setup-pnpm - name: Cache Playwright browsers - uses: actions/cache@v5.0.2 + uses: actions/cache@v5.1.0 with: path: ~/.cache/ms-playwright key: ${{ runner.os }}-playwright-${{ hashFiles('pnpm-lock.yaml') }} @@ -173,7 +173,7 @@ jobs: -C qa/tests/playwright \ playwright-report test-results - - uses: actions/upload-artifact@v4.6.2 + - uses: actions/upload-artifact@v6 if: failure() with: name: seo-report @@ -188,7 +188,7 @@ jobs: timeout-minutes: 15 steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup pnpm with cache uses: ./.github/actions/setup-pnpm @@ -204,7 +204,7 @@ jobs: tar -czf lhci-perfo-reports-${{ github.run_id }}.tgz \ -C qa/tests/playwright/perfo/.lighthouseci . - - uses: actions/upload-artifact@v4.6.2 + - uses: actions/upload-artifact@v6 if: always() with: name: perfo-report diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 980ccd0c..7c0d80fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ # id-token: write # to enable use of OIDC for trusted publishing and npm provenance # steps: # - name: Checkout repository -# uses: actions/checkout@v4 +# uses: actions/checkout@v5 # with: # fetch-depth: 0 # token: ${{ secrets.GITHUB_TOKEN }} From a91b7aba8bc8add17bbc9cca376c6b977d0fe81a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Mar=C4=8Di=C5=A1ovsk=C3=BD?= Date: Mon, 26 Oct 2026 13:03:41 +0100 Subject: [PATCH 2/2] fix: merge --- .github/workflows/qa.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 90ee4a59..4f411f63 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -166,8 +166,9 @@ jobs: echo "The job is set to soft-fail, so this doesn't fail the run. Failing checks are listed as annotations above; the full HTML report is in the \`axe-report\` artifact." } >> "$GITHUB_STEP_SUMMARY" - - uses: actions/upload-artifact@v7.0.1 - if: failure() + - name: Publish Axe report + uses: actions/upload-artifact@v7.0.1 + if: ${{ !cancelled() && (steps.axe_tests.outcome == 'success' || steps.axe_tests.outcome == 'failure') }} with: name: axe-report path: qa/tests/playwright/playwright-report/ @@ -217,8 +218,9 @@ jobs: echo "The job is set to soft-fail, so this doesn't fail the run. Failing checks are listed as annotations above; the full HTML report is in the \`seo-report\` artifact." } >> "$GITHUB_STEP_SUMMARY" - - uses: actions/upload-artifact@v7.0.1 - if: failure() + - name: Publish SEO report + uses: actions/upload-artifact@v7.0.1 + if: ${{ !cancelled() && (steps.seo_tests.outcome == 'success' || steps.seo_tests.outcome == 'failure') }} with: name: seo-report path: qa/tests/playwright/playwright-report/