Skip to content

Commit

Permalink
chore: improve logging in the publishing script (#7984)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN authored Feb 10, 2022
1 parent e583e5b commit 1b120b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish-on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 1b120b2

Please sign in to comment.