diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index b9335e69..70edb060 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -14,6 +14,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 18 + cache: npm - name: Install dependencies run: npm ci - name: Run Playwright tests @@ -35,7 +36,7 @@ jobs: shell: bash - name: Create PR Artifact if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pr path: ./pr-id.txt diff --git a/.github/workflows/pr-playwright-report.yml b/.github/workflows/pr-playwright-report.yml index 9625395e..07643168 100644 --- a/.github/workflows/pr-playwright-report.yml +++ b/.github/workflows/pr-playwright-report.yml @@ -15,13 +15,13 @@ jobs: - name: Download Artifacts uses: actions/download-artifact@v4 with: - workflow: ${{ github.event.workflow_run.workflow_id }} + github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }} run_id: ${{ github.event.workflow_run.id }} - name: Extract PR Number id: pr run: echo "::set-output name=id::$(