From 1b120b2c36a26e750c828f58d08b14de004e4a13 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Thu, 10 Feb 2022 10:14:02 +0100 Subject: [PATCH] chore: improve logging in the publishing script (#7984) --- .github/workflows/publish-on-tag.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-on-tag.yml b/.github/workflows/publish-on-tag.yml index 76534af1..fc953565 100644 --- a/.github/workflows/publish-on-tag.yml +++ b/.github/workflows/publish-on-tag.yml @@ -21,8 +21,11 @@ jobs: run: | npm config set registry 'https://wombat-dressing-room.appspot.com/' npm config set '//wombat-dressing-room.appspot.com/:_authToken' '${NPM_TOKEN}' + echo "Publishing puppeteer" npm publish - npm deprecate puppeteer@"$(node utils/get_deprecated_version_range.js)" "Version no longer supported. Upgrade to @latest" + DEPRECATED_RANGE=$(node utils/get_deprecated_version_range.js) + echo "Deprecating old puppeteer versions: $DEPRECATED_RANGE" + npm deprecate puppeteer@\"$DEPRECATED_RANGE\" "Version no longer supported. Upgrade to @latest" - name: Publish puppeteer-core env: NPM_TOKEN: ${{secrets.NPM_TOKEN_PUPPETEER_CORE}}