Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: fix NPM release step (#37727)

Adam Gastineau15869b4ca5e7
diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml
index 27dbe70a5e..b2f9cb2e7d 100644
--- a/.github/workflows/publish_release.yml
+++ b/.github/workflows/publish_release.yml
@@ -50,7 +50,7 @@ jobs:
node utils/build/update_canary_version.js --beta --commit-timestamp
utils/publish_all_packages.sh --beta
- name: "publish release to NPM"
- if: contains(github.ref, 'release') && github.event_name == 'release'
+ if: github.event_name == 'release' && github.event.action == 'published'
run: utils/publish_all_packages.sh --release
- name: Azure Login