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 https://github.com/microsoft/playwright/pull/22232/
This commit is contained in:
parent
2ca4cd018f
commit
b64516e146
4
.github/workflows/publish_release_npm.yml
vendored
4
.github/workflows/publish_release_npm.yml
vendored
|
|
@ -23,10 +23,10 @@ jobs:
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npx playwright install-deps
|
- run: npx playwright install-deps
|
||||||
- run: utils/publish_all_packages.sh --release-candidate
|
- run: utils/publish_all_packages.sh --release-candidate
|
||||||
if: github.event.release.prerelease
|
if: "github.event.release.prerelease"
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
- run: utils/publish_all_packages.sh --release
|
- run: utils/publish_all_packages.sh --release
|
||||||
if: !github.event.release.prerelease
|
if: "!github.event.release.prerelease"
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue