Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
Revert "devops: publish stable release on tag push instead of release event (#41425)" (#41460)
Dmitry Gozman74e517201451
diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.ymlindex bfd4d6d5fa..07eb51e35d 100644--- a/.github/workflows/publish_release.yml+++ b/.github/workflows/publish_release.yml@@ -7,10 +7,8 @@ on:push:branches:- release-*- tags:- # TODO: revert this to "published release" once github.ref is set there.- # See https://github.com/actions/runner/issues/2788 as well.- - 'v1.61.1'+ release:+ types: [published]jobs:publish-npm-and-driver:@@ -49,7 +47,7 @@ jobs:node utils/build/update_canary_version.js --beta --commit-timestamputils/publish_all_packages.sh --beta- name: "publish release to NPM"- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')+ if: github.event_name == 'release' && github.event.action == 'published'run: utils/publish_all_packages.sh --release- name: Azure Login@@ -60,7 +58,7 @@ jobs:subscription-id: ${{ secrets.AZURE_PW_CDN_SUBSCRIPTION_ID }}- name: build & publish driverenv:- AZ_UPLOAD_FOLDER: ${{ startsWith(github.ref, 'refs/tags/v') && 'driver' || 'driver/next' }}+ AZ_UPLOAD_FOLDER: ${{ github.event_name == 'release' && 'driver' || 'driver/next' }}run: |utils/build/build-playwright-driver.shutils/build/upload-playwright-driver.sh@@ -91,7 +89,7 @@ jobs:env:GH_SERVICE_ACCOUNT_TOKEN: ${{ steps.app-token.outputs.token }}- name: Deploy Stable- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')+ if: github.event_name == 'release' && github.event.action == 'published'run: bash utils/build/deploy-trace-viewer.sh --stableenv:GH_SERVICE_ACCOUNT_TOKEN: ${{ steps.app-token.outputs.token }}