diff --git a/.github/workflows/cherry_pick_into_release_branch.yml b/.github/workflows/cherry_pick_into_release_branch.yml index 30fff59524..0d115b606e 100644 --- a/.github/workflows/cherry_pick_into_release_branch.yml +++ b/.github/workflows/cherry_pick_into_release_branch.yml @@ -23,7 +23,7 @@ jobs: echo "Version is not a two digit semver version" exit 1 fi - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: release-${{ github.event.inputs.version }} fetch-depth: 0 @@ -57,12 +57,12 @@ jobs: git checkout -b "$BRANCH_NAME" git push origin $BRANCH_NAME - name: Create Pull Request - uses: actions/github-script@v4 + uses: actions/github-script@v6 with: github-token: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }} script: | const readableCommitHashesList = '${{ github.event.inputs.commit_hashes }}'.split(',').map(hash => `- ${hash}`).join('\n'); - const response = await github.pulls.create({ + const response = await github.rest.pulls.create({ owner: 'microsoft', repo: 'playwright', head: 'microsoft:${{ steps.prepare-branch.outputs.BRANCH_NAME }}', @@ -70,7 +70,7 @@ jobs: title: '${{ steps.cherry-pick.outputs.PR_TITLE }}', body: `This PR cherry-picks the following commits:\n\n${readableCommitHashesList}`, }); - await github.issues.addLabels({ + await github.rest.issues.addLabels({ owner: 'microsoft', repo: 'playwright', issue_number: response.data.number, diff --git a/.github/workflows/infra.yml b/.github/workflows/infra.yml index 29d3c57386..e4d4357e02 100644 --- a/.github/workflows/infra.yml +++ b/.github/workflows/infra.yml @@ -15,8 +15,8 @@ jobs: name: "docs & lint" runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 diff --git a/.github/workflows/pr_check_client_side_changes.yml b/.github/workflows/pr_check_client_side_changes.yml index fc8e5cbd16..57c96a60ad 100644 --- a/.github/workflows/pr_check_client_side_changes.yml +++ b/.github/workflows/pr_check_client_side_changes.yml @@ -13,11 +13,11 @@ jobs: if: github.repository == 'microsoft/playwright' steps: - name: Create GitHub issue - uses: actions/github-script@v4 + uses: actions/github-script@v6 with: github-token: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }} script: | - const { data } = await github.git.getCommit({ + const { data } = await github.rest.git.getCommit({ owner: context.repo.owner, repo: context.repo.repo, commit_sha: context.sha, @@ -26,7 +26,7 @@ jobs: const title = '[Ports]: Backport client side changes'; for (const repo of ['playwright-python', 'playwright-java', 'playwright-dotnet']) { - const { data: issuesData } = await github.search.issuesAndPullRequests({ + const { data: issuesData } = await github.rest.search.issuesAndPullRequests({ q: `is:issue is:open repo:microsoft/${repo} in:title "${title}"` }) let issueNumber = null; @@ -35,7 +35,7 @@ jobs: issueNumber = issuesData.items[0].number issueBody = issuesData.items[0].body } else { - const { data: issueCreateData } = await github.issues.create({ + const { data: issueCreateData } = await github.rest.issues.create({ owner: context.repo.owner, repo: repo, title, @@ -46,7 +46,7 @@ jobs: } const newBody = issueBody.trimEnd() + ` - [ ] https://github.com/${context.repo.owner}/${context.repo.repo}/commit/${context.sha} (${commitHeader})`; - const data = await github.issues.update({ + const data = await github.rest.issues.update({ owner: context.repo.owner, repo: repo, issue_number: issueNumber, diff --git a/.github/workflows/publish_canary.yml b/.github/workflows/publish_canary.yml index b390b9ea98..744403f78a 100644 --- a/.github/workflows/publish_canary.yml +++ b/.github/workflows/publish_canary.yml @@ -14,8 +14,8 @@ jobs: runs-on: ubuntu-20.04 if: github.repository == 'microsoft/playwright' steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 registry-url: 'https://registry.npmjs.org' @@ -69,8 +69,8 @@ jobs: runs-on: ubuntu-20.04 if: github.repository == 'microsoft/playwright' steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 diff --git a/.github/workflows/publish_release_docker.yml b/.github/workflows/publish_release_docker.yml index 6d13fbcd80..02c7c8d41e 100644 --- a/.github/workflows/publish_release_docker.yml +++ b/.github/workflows/publish_release_docker.yml @@ -17,8 +17,8 @@ jobs: runs-on: ubuntu-20.04 if: github.repository == 'microsoft/playwright' steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 registry-url: 'https://registry.npmjs.org' diff --git a/.github/workflows/publish_release_driver.yml b/.github/workflows/publish_release_driver.yml index bbc7fd60c5..efb897c7b8 100644 --- a/.github/workflows/publish_release_driver.yml +++ b/.github/workflows/publish_release_driver.yml @@ -10,8 +10,8 @@ jobs: runs-on: ubuntu-20.04 if: github.repository == 'microsoft/playwright' steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 registry-url: 'https://registry.npmjs.org' diff --git a/.github/workflows/publish_release_npm.yml b/.github/workflows/publish_release_npm.yml index 0f71a5d837..0ee6903a26 100644 --- a/.github/workflows/publish_release_npm.yml +++ b/.github/workflows/publish_release_npm.yml @@ -10,8 +10,8 @@ jobs: runs-on: ubuntu-20.04 if: github.repository == 'microsoft/playwright' steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 registry-url: 'https://registry.npmjs.org' diff --git a/.github/workflows/publish_release_traceviewer.yml b/.github/workflows/publish_release_traceviewer.yml index bb69f98a29..e87368115e 100644 --- a/.github/workflows/publish_release_traceviewer.yml +++ b/.github/workflows/publish_release_traceviewer.yml @@ -10,8 +10,8 @@ jobs: runs-on: ubuntu-20.04 if: github.repository == 'microsoft/playwright' steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 diff --git a/.github/workflows/roll_browser_into_playwright.yml b/.github/workflows/roll_browser_into_playwright.yml index 2085178edf..c8f807df44 100644 --- a/.github/workflows/roll_browser_into_playwright.yml +++ b/.github/workflows/roll_browser_into_playwright.yml @@ -8,8 +8,8 @@ jobs: roll: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -33,18 +33,18 @@ jobs: git commit -m "feat(${{ github.event.client_payload.browser }}): roll to r${{ github.event.client_payload.revision }}" git push origin $BRANCH_NAME - name: Create Pull Request - uses: actions/github-script@v4 + uses: actions/github-script@v6 with: github-token: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }} script: | - const response = await github.pulls.create({ + const response = await github.rest.pulls.create({ owner: 'microsoft', repo: 'playwright', head: 'microsoft:${{ steps.prepare-branch.outputs.BRANCH_NAME }}', base: 'main', title: 'feat(${{ github.event.client_payload.browser }}): roll to r${{ github.event.client_payload.revision }}', }); - await github.issues.addLabels({ + await github.rest.issues.addLabels({ owner: 'microsoft', repo: 'playwright', issue_number: response.data.number, diff --git a/.github/workflows/roll_driver_nodejs.yml b/.github/workflows/roll_driver_nodejs.yml index 328c6a5a40..5397f1f26a 100644 --- a/.github/workflows/roll_driver_nodejs.yml +++ b/.github/workflows/roll_driver_nodejs.yml @@ -10,8 +10,8 @@ jobs: runs-on: ubuntu-22.04 if: github.repository == 'microsoft/playwright' steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 16 - run: node utils/build/update-playwright-driver-version.mjs @@ -33,10 +33,10 @@ jobs: git push origin $BRANCH_NAME - name: Create Pull Request if: ${{ steps.prepare-branch.outputs.HAS_CHANGES == '1' }} - uses: actions/github-script@v4 + uses: actions/github-script@v6 with: script: | - await github.pulls.create({ + await github.rest.pulls.create({ owner: 'microsoft', repo: 'playwright', head: 'microsoft:${{ steps.prepare-branch.outputs.BRANCH_NAME }}', diff --git a/.github/workflows/tests_components.yml b/.github/workflows/tests_components.yml index 7567b5bebc..a6890c50f7 100644 --- a/.github/workflows/tests_components.yml +++ b/.github/workflows/tests_components.yml @@ -25,8 +25,8 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: # Component tests require Node.js 16+ (they require ESM via TS) node-version: 16 diff --git a/.github/workflows/tests_electron.yml b/.github/workflows/tests_electron.yml index c278439322..62379e9a23 100644 --- a/.github/workflows/tests_electron.yml +++ b/.github/workflows/tests_electron.yml @@ -28,8 +28,8 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -47,7 +47,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: always() && matrix.os == 'ubuntu-latest' with: name: electron-linux-test-results diff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.yml index 9283e93102..5ac22dee08 100644 --- a/.github/workflows/tests_primary.yml +++ b/.github/workflows/tests_primary.yml @@ -42,8 +42,8 @@ jobs: browser: chromium runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - run: npm i -g npm@8 @@ -58,7 +58,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: always() with: name: ${{ matrix.browser }}-${{ matrix.os }}-test-results @@ -72,8 +72,8 @@ jobs: os: [ubuntu-20.04] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -89,7 +89,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: always() with: name: ${{ matrix.browser }}-chromium-tip-of-tree-test-results @@ -111,8 +111,8 @@ jobs: node-version: 16 runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: ${{matrix.node-version}} - run: npm i -g npm@8 @@ -133,8 +133,8 @@ jobs: name: Web Components runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: # Component tests require Node.js 16+ (they require ESM via TS) node-version: 16 @@ -167,8 +167,8 @@ jobs: - "^14.1.0" # pre 14.1, zip extraction was broken (https://github.com/microsoft/playwright/issues/1988) timeout-minutes: 30 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node_version }} - run: npm i -g npm@8 diff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.yml index be87590123..136d763cfc 100644 --- a/.github/workflows/tests_secondary.yml +++ b/.github/workflows/tests_secondary.yml @@ -29,8 +29,8 @@ jobs: os: [ubuntu-18.04, ubuntu-20.04] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -45,7 +45,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: always() with: name: ${{ matrix.browser }}-${{ matrix.os }}-test-results @@ -60,8 +60,8 @@ jobs: browser: [chromium, firefox, webkit] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -75,7 +75,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: ${{ matrix.browser }}-${{ matrix.os }}-test-results @@ -89,8 +89,8 @@ jobs: browser: [chromium, firefox, webkit] runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -105,7 +105,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: ${{ matrix.browser }}-win-test-results @@ -124,8 +124,8 @@ jobs: node_version: "^16.0.0" timeout-minutes: 30 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node_version }} - run: npm i -g npm@8 @@ -151,8 +151,8 @@ jobs: os: [ubuntu-20.04, ubuntu-22.04, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -169,7 +169,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: always() && startsWith(matrix.os, 'ubuntu-') with: name: headful-${{ matrix.browser }}-linux-test-results @@ -183,8 +183,8 @@ jobs: mode: [driver, service] runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -205,7 +205,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: mode-${{ matrix.mode }}-linux-test-results @@ -224,8 +224,8 @@ jobs: channel: chromium-tip-of-tree runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -247,8 +247,8 @@ jobs: name: "Chrome Stable (Linux)" runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -263,7 +263,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: chrome-stable-linux-test-results @@ -273,8 +273,8 @@ jobs: name: "Chrome Stable (Win)" runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -290,7 +290,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: chrome-stable-win-test-results @@ -300,8 +300,8 @@ jobs: name: "Chrome Stable (Mac)" runs-on: macos-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -316,7 +316,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: chrome-stable-mac-test-results @@ -330,8 +330,8 @@ jobs: matrix: os: [ubuntu-18.04, macos-12, windows-latest] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -351,7 +351,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: always() with: name: chromium-tot-${{ matrix.os }}-test-results @@ -365,8 +365,8 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -386,7 +386,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: always() with: name: chromium-tot-headed-${{ matrix.os }}-test-results @@ -396,8 +396,8 @@ jobs: name: "Firefox Beta (Linux)" runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -412,7 +412,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: firefox-beta-linux-test-results @@ -422,8 +422,8 @@ jobs: name: "Firefox Beta (Win)" runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -439,7 +439,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: firefox-beta-win-test-results @@ -449,8 +449,8 @@ jobs: name: "Firefox Beta (Mac)" runs-on: macos-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -465,7 +465,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: firefox-beta-mac-test-results @@ -475,8 +475,8 @@ jobs: name: "Edge Stable (Mac)" runs-on: macos-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -491,7 +491,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: msedge-stable-mac-test-results @@ -502,8 +502,8 @@ jobs: name: "Edge Stable (Win)" runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -519,7 +519,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: edge-stable-win-test-results @@ -529,8 +529,8 @@ jobs: name: "Edge Stable (Linux)" runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -545,7 +545,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: edge-stable-linux-test-results @@ -555,8 +555,8 @@ jobs: name: "Edge Beta (Mac)" runs-on: macos-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -571,7 +571,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: msedge-beta-mac-test-results @@ -581,8 +581,8 @@ jobs: name: "Edge Beta (Win)" runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -598,7 +598,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: edge-beta-win-test-results @@ -608,8 +608,8 @@ jobs: name: "Edge Beta (Linux)" runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -624,7 +624,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: edge-beta-linux-test-results @@ -634,8 +634,8 @@ jobs: name: "Edge Dev (Mac)" runs-on: macos-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -650,7 +650,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: msedge-dev-mac-test-results @@ -660,8 +660,8 @@ jobs: name: "Edge Dev (Win)" runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -677,7 +677,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: edge-dev-win-test-results @@ -687,8 +687,8 @@ jobs: name: "Edge Dev (Linux)" runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -703,7 +703,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: edge-dev-linux-test-results @@ -713,8 +713,8 @@ jobs: name: "Chrome Beta (Linux)" runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -729,7 +729,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: chrome-beta-linux-test-results @@ -739,8 +739,8 @@ jobs: name: "Chrome Beta (Win)" runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -756,7 +756,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: chrome-beta-win-test-results @@ -766,8 +766,8 @@ jobs: name: "Chrome Beta (Mac)" runs-on: macos-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -782,7 +782,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: chrome-beta-mac-test-results @@ -792,8 +792,8 @@ jobs: name: "build-playwright-driver" runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 diff --git a/.github/workflows/tests_stress.yml b/.github/workflows/tests_stress.yml index 8d1c0b0efa..327a7bb385 100644 --- a/.github/workflows/tests_stress.yml +++ b/.github/workflows/tests_stress.yml @@ -26,8 +26,8 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 - run: npm i -g npm@8 - run: npm ci - run: npm run build diff --git a/.github/workflows/tests_video.yml b/.github/workflows/tests_video.yml index a8fbd0d3e3..37ec77716b 100644 --- a/.github/workflows/tests_video.yml +++ b/.github/workflows/tests_video.yml @@ -21,8 +21,8 @@ jobs: os: [ubuntu-20.04, ubuntu-22.04] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 - run: npm i -g npm@8 @@ -38,7 +38,7 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: ${{ always() }} with: name: video-${{ matrix.browser }}-linux-test-results