Skip to content

Commit b64516e

Browse files
committed
cherry-pick(#22673): devops: fix workflow publishing
The release workflow is failing with the [following error](https://github.com/microsoft/playwright/actions/runs/4814866583): <img width="949" alt="image" src="https://user-images.githubusercontent.com/746130/234735651-204acaea-324b-410e-b030-4c56aabdd653.png"> This was regressed in #22232
1 parent 2ca4cd0 commit b64516e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish_release_npm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
- run: npm run build
2424
- run: npx playwright install-deps
2525
- run: utils/publish_all_packages.sh --release-candidate
26-
if: github.event.release.prerelease
26+
if: "github.event.release.prerelease"
2727
env:
2828
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2929
- run: utils/publish_all_packages.sh --release
30-
if: !github.event.release.prerelease
30+
if: "!github.event.release.prerelease"
3131
env:
3232
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)