chore: improve logging in the publishing script (#7984)
This commit is contained in:
parent
e583e5b0df
commit
1b120b2c36
5
.github/workflows/publish-on-tag.yml
vendored
5
.github/workflows/publish-on-tag.yml
vendored
@ -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}}
|
||||
|
Loading…
Reference in New Issue
Block a user