mirror of https://github.com/nodejs/node.git
tools: fix doc update action
PR-URL: https://github.com/nodejs/node/pull/52890 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>pull/52932/head
parent
77fabfb2ab
commit
8e6a45b3e5
|
@ -118,7 +118,7 @@ jobs:
|
|||
npm ci
|
||||
NEW_VERSION=$(npm outdated --parseable | cut -d: -f4 | xargs)
|
||||
if [ "$NEW_VERSION" != "" ]; then
|
||||
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
|
||||
echo "NEW_VERSION=new version" >> $GITHUB_ENV
|
||||
rm -rf package-lock.json node_modules
|
||||
# Include $NEW_VERSION to explicitly update the package.json
|
||||
# entry for the dependency and also so that semver-major updates
|
||||
|
|
Loading…
Reference in New Issue